Spectroscopy is the study of light as a function of length of the wave that has been emitted, reflected or scattered from a solid, liquid, or gas. It is useful.