The simplest element in music is the interval.
An interval is the distance (difference in pitch) between two notes.
When the notes are sounded one after the other the intervals is melodic
When the notes are sounded simultaneously the intervals is harmonic.