Spectral lines are the distinct dark or bright lines observed in a spectrum, representing the specific wavelengths of light emitted or absorbed by atoms and molecules. These lines are key to understanding atomic structure and electron transitions, as they indicate the quantized energy levels within an atom, such as those found in the hydrogen atom, where angular momentum plays a crucial role in determining these energy levels.