In music, a theme is a melody or melodic idea that serves as the foundational material of a composition. It recurs and transforms across sections (variations, sonata, concerto, symphony, opera) through changes in harmony, rhythm, orchestration, or key, providing coherence and unity. Iconic themes make pieces instantly recognizable.