Consider the Bohr model of the simplest atom, hydrogen. What energy photon will be released if an electron falls from the n= 2 orbit (excited state) to the n0 = 1 orbit (ground state)?
The energy of a photon that will be released if an electron falls from the n= 2 orbit (excited state) to the n0 = 1 orbit (ground state) is of ultraviolet light.
In the ultraviolet part of the spectrum, a photon having an energy of 10.2 eV has a wavelength of 1.21 x 10-7 m.
Hence, when an electron wants to jump or it gets excited from the first level to the second level that is from n = 1 orbit to n = 2 orbits, it must absorb a photon of ultraviolet light.
But,When an electron falls from n = 2 orbit to n = 1 orbit or from n = 2 orbit(excited state) to n = 0 orbit(groubd state), it emits a photon of ultraviolet light.