What Is a Leitmotif? How Do They Work In Films?

Music contributes to the development of a film’s story through leitmotifs. But what is a leitmotif, and how does it work?