What does this mean?
When a hydrogen atom absorbs a photon, its electron makes a transition to a higher energy state. This can only occur if the difference in energy between the initial and final states equals the energy of the photon