The Structure of Line Spectra