The waves that form the electromagnetic spectrum are grouped in terms of their wavelength and their frequency. Going from long to short wavelength (or from low to high frequency) the groups are: radio, microwave, infrared, visible light (red to violet), ultraviolet, Xrays and gamma rays