A melody is a linear sequence of notes. It is a combination of pitch and rhythm.
Part ofMusicMusic theory