Fig. 2. When electrons fall to a lower orbit, photons are released.