1) Nuclear magnetic resonance (NMR) spectroscopy detects the energy released when the magnetic nuclei of hydrogen atoms in a molecule fall back into alignment with an applied magnetic field after being excited. 2) The frequency of this released energy provides information about the local chemical environment and number of hydrogen atoms in different positions in the molecule. 3) An NMR spectrum displays peaks corresponding to the different hydrogen environments in a molecule, with more hydrogen atoms in an environment producing a larger peak. The position of peaks along the NMR scale depends on the functional groups near the hydrogen, with more electron-rich groups shifting peaks upfield.