Nuclear magnetic resonance employing the magnetic moments of protons is used for nuclear magnetic resonance (NMR) spectroscopy. Since hydrogen-1 nuclei are within the molecules of many substances, NMR can determine the structure of those molecules.