The change of an electron from one energy level to another within an atom. Atoms emit or absorb electromagnetic radiation when they undergo electronic transitions. The energy of the transition from the initial excited state ni to the final state nf (where Ei > Ef ⇒ emission) is given by Ei = Ef + Ephoton