Question: how is emission spectra produced?
Answer: Thus, emission spectra are produced by thin gases in which the atoms do not experience many collisions (because of the low density). The emission lines correspond to photons of discrete energies that are emitted when excited atomic states in the gas make transitions back to lower-lying levels.