Nuclear magnetic resonance (NMR) spectroscopy involves studying the magnetic properties of atomic nuclei and their interaction with magnetic fields. NMR spectroscopy is useful for determining the structure of organic molecules. The technique works by applying a strong, static magnetic field to a sample which causes the magnetic nuclei in the sample to resonate at characteristic frequencies. The resonance frequencies are measured to determine properties of the atomic nuclei such as the number of neighboring atoms and functional groups present in the molecule. NMR spectroscopy provides detailed information that can help elucidate molecular structures.