Musical composition written specifically for some other work, e.g. a TV or radio show
Theme music is a musical composition which is often written specifically for radio programming, television shows, video games, or films and is usually played during the title sequence, opening credits, closing credits, and in some instances at some point during the program. The purpose of a theme song is often similar to that of a leitmotif. Wikipedia