Vertical placement on the staff represents pitch (frequency).
Intervals (distance between notes) show the size of pitch jumps: steps (adjacent lines/spaces) = small; leaps (larger gaps) = big. Clefs (treble, bass, alto) assign specific pitches to lines/spaces.