The phrase "optical soundtrack" sounds like a contradiction in terms, but it's the secret to how sound is recorded on motion picture film.
Sound-on-film - Wikipedia
What is sound design? Elements & practices of sound design
Movie Industry, HowStuffWorks
How to Record Great Audio for your Films
The Rise of Talkies Olney Theatre Center
AES E-Library » Motion Picture Sound Recording at USAF Lookout Mountain Laboratory
George Eastman Introducing the Talking Film.mov
How Video Formatting Works
How to Record Sound For a Movie? - - Blog
Motion-picture technology - Sound Recording, Sync, Mixing
How to Create Optical Film Sound: Motion-Picture Sound Recording