Nuclear magnetic resonance (NMR) spectroscopy is used to undertake chemical analysis of samples in the food and pharmaceuticals among other sectors. The technique uses radiofrequency pulses to excite atomic nuclei of dissolved samples that are placed inside a strong magnetic field, with the atoms having characteristic signatures that can be detected via the NMR instruments. Source