Nuclear magnetic resonance (NMR) spectroscopy uses the NMR phenomenon to study the physical, chemical, and biological properties of matter. NMR occurs when atomic nuclei are placed in a magnetic field and exposed to a second oscillating field. Only certain atomic nuclei experience NMR, depending on whether they have a quantum property called spin. NMR spectroscopy is valuable in chemistry for determining molecular structure. It is commonly used to map the carbon-hydrogen framework of organic molecules. More advanced NMR techniques also study protein structure and dynamics in biological chemistry.