Different wavelengths of light. Spectroscopy can be used to study interactions between matter and any form of light, from visible light to gamma rays, X-rays, ultraviolet light, infrared light, microwaves, and radio waves.James Webb Space Telescope masters infrared spectroscopy and has the ability to reveal infrared spectra of almost any type of object or material in space with unprecedented detail.

Credit NASA, ESA, L. Hustak (STScI)source James Webb Space Telescope