The electromagnetic spectrum is a continuum of all electromagnetic waves arranged according to frequency and wavelength . The sun, earth, and other bodies radiate electromagnetic energy of varying wavelengths. Electromagnetic energy passes through space at the speed of light in the form of sinusoidal waves.