An interval is the measure for the vertical distance between two notes on a staff. An interval can be expressed for two successive notes (a melodic interval) or for two simultaneous notes (a harmonic interval).
Figure: Two notes arranged first in the melodic interval and then in the harmonic interval
A melodic interval can be ascending or descending.
Figure: An ascending interval followed by a descending interval