When an atom absorbs light (left), an electron jumps from a low energy level to a high one. When an atom emits, light (right), the electron jumps from a high energy level to a low one. In either case, electrons are restricted to jumping to the allowed energy levels given by Bohr’s quantum rule.