Spectroscopy and the electromagnetic spectrum
Different energies of light cause different changes in molecules, microwaves turning them, infrared making their bonds vibrate and ultraviolet and visible light moving their electrons, so each region of the spectrum probes something different.
From AP Chemistry.