Melody: The main tune; a succession of pitches creating a pleasing, memorable line — the "horizontal" dimension.
Harmony: The combination of simultaneous pitches; chords and chord progressions — the "vertical" dimension.
Rhythm: The pattern of strong/weak beats; temporal organization of durations, accents, syncopations — the "time" dimension.
Melody = what you hum
Harmony = what supports it
Rhythm = when it happens
All three interact — a melody implies harmony; rhythm shapes both; change one, the others feel it.