How to create an emission spectrum
Select a transition line of the atom. The electron will drop to the lowest energy level and emit the energy in the form of a photon:



Atom

Emission spectrum: