The parts that make up a melody are phrases; phrases end in resting places called cadence. A melody is a musical line or tune, a sequence of distinct tones that the human brain perceives as a unity. A cadence is a rhythmic pattern that indicates the ending of a phrase and creates a sense of resolution.