Melodic intervals refer to the distance between two pitches in a melody, measured in terms of both size and quality. The size indicates how many letter names are encompassed between the notes, while the quality describes whether the interval is major, minor, perfect, augmented, or diminished. Understanding melodic intervals is crucial for analyzing melodies and recognizing patterns within music.