A show tune is a song originally written as part of the score of a work of musical theatre or musical film, especially if the piece in question has become a standard, more or less detached in most people's minds from the original context.