The continuous distribution of energy in the form of electromagnetic waves, which are arranged in order of their frequencies or wavelengths.