Theme music is a piece that is often written specifically for a radio program, television program, video game or movie, and usually played during the intro, opening credits and/or ending credits.
The phrase theme song or signature tune may also be used to refer to a signature song that has become especially associated with a particular performer or dignitary; often used as they make an entrance. The purpose of a theme song is often similar to that of a leitmotif. Such songs can also be used in other ways. One author has made extensive use of them in an effort to explore the feelings behind world views.
The purpose of the music is to establish a mood for the show and to provide an audible cue that a particular show is beginning, which was especially useful in the early days of radio (See also interval signal). In some cases, including The Brady Bunch, Gilligan's Island, The Fresh Prince of Bel-Air, both versions of Land of the Lost (1974 and 1991), The Nanny and The Beverly Hillbillies the lyrics of the theme song provide some necessary exposition for people unfamiliar with the show.
In addition, some theme music uses orchestra scores or original music set mood for the show, such as the Batman: The Animated Series theme song, which was drawn from the theme for the 1989 Batman film created by Danny Elfman and sets the mood for the cartoon. Another example is Ron Grainer's theme music for Doctor Who. Other shows use remixes or covers of older songs, such as the theme song of Spider-Man: The Animated Series (1994–1998), which featured a reworked cover of the theme song from the classic Spider-Man cartoon from the 1960s. The song was performed by Aerosmith lead guitarist Joe Perry.