These wavelengths are absorbed as they have the right amount of energy to excite electrons in the plant's pigments, the first step in photosynthesis. As the theory of electromagnetism developed, the use of the notion of the spectrum was expanded to the entire range of electromagnetic radiation.