Spectral lines are narrow, discrete bands of light emitted or absorbed by atoms and molecules at specific wavelengths. They are a fundamental feature of the electromagnetic spectrum and provide valuable information about the composition and properties of celestial objects.