Usually spectroscopy is devoted to identifying elements and compounds and elucidating atomic and molecular structure by measuring the radiant energy absorbed or emitted by a substance at characteristic wavelengths of the electromagnetic spectrum on excitation by an external energy source.