What Causes Spectral Lines?

Spectral lines are caused by a difference of photon energy absorption that usually occurs with an atom, making a line in the spectrum that’s more or less energy than the frequencies around it. The two types are referred to as emission or absorption linesYou can find more information here: