The electromagnetic spectrum consists of electromagnetic waves that differ in frequency and wavelength. It ranges from gamma rays with the highest frequency and shortest wavelength to radio waves with the lowest frequency and longest wavelength. All electromagnetic waves travel at the speed of light and are classified based on their position within the electromagnetic spectrum according to their frequency or wavelength.