Melody is a sequence of musical notes that are perceived as a single entity, often characterized by its pitch and rhythm, which creates the tune of a piece of music. It is a fundamental element of music that provides structure and emotional expression, often serving as the focal point of a composition.