Spectrum lines are a thin band of bright or dark light.
They are a result of emission or absorption from atoms and molecules.
There are unique sets of spectrum lines for each type of atom and molecule.
Hence, these spectrum lines are used to identify the constituents of a substance.
For example, the light emitted from a planet or star can be used to identify the spectrum lines and eventually figure out the elements present in them.