Fig. 4.
A photon of the “right” energy can be absorbed and “bump” an electron into a higher energy level.