Electromagnetic radiation can be described in terms of a stream of photons, which are massless particles each traveling in a wave-like pattern and moving at the speed of light. Each photon contains a certain amount (or bundle) of energy, and all electromagnetic radiation consists of these photons. The only difference between the various types of electromagnetic radiation is the amount of energy found in the photons. Radio waves have photons with low energies, microwaves have a little more energy than radio waves, infrared has still more, then visible, ultraviolet, X-rays, and … the most energetic of all … gamma-rays.
the electromagnetic spectrum can be expressed in terms of energy, wavelength, or frequency.