Spectral lines in emission:

Spectral lines in absorption:


Notice that emission and absorption lines are at the same wavelength for the same atom.