FTIR spectroscopy involves passing an infrared light through a sample and measuring the intensity of light absorbed at different wavelengths. The data collected is then transformed using a Fourier transform to produce a spectrum. Each peak in the spectrum corresponds to a specific vibrational mode of the molecules in the sample, allowing for the identification of functional groups and molecular structures.