The equation e = hf expresses the relationship between the energy (e) of a photon and its frequency (f), with h being Planck's constant. This fundamental relationship indicates that energy is directly proportional to frequency, meaning as the frequency of electromagnetic radiation increases, so does its energy. This concept is essential in understanding both the behavior of electromagnetic waves and the quantized energy levels of atoms.