Question: what is the relation of the photon theory of light and atomic spectra?
Answer: Atomic emission spectra originates when an electron moves from one energy level to a lower one. In that process, a photon is emitted which corresponds to the difference in energy of the two energy levels.