Infrared (IR) spectroscopy is a technique that measures the absorption of infrared radiation by molecules. This absorption causes molecular vibrations, leading to changes in the dipole moment of the molecules. The resulting spectrum, which plots absorbance or transmittance against wavelength or frequency, provides a molecular fingerprint that can be used to identify and quantify various compounds.