Electromagnetic radiation can exist only in certain frequencies, which are determined by the energy of the photons.