"Do-Re-Mi" was not written solely for the movie. Richard Rodgers and Oscar Hammerstein II composed it for the 1959 Broadway musical The Sound of Music, where Maria teaches the von Trapp children solfège. The 1965 film adapted the stage production, retaining the song.