Patterns of emission or absorbtion lines in spectra can uniqule identify individual atomic elements just as DNA

Question

Patterns of emission or absorbtion lines in spectra can uniqule identify individual atomic elements, just as DNA

testing uniquely identifies individual human beings. Explain how this is true.

Science