Nuclear magnetic resonance (NMR) spectroscopy is a technique used to determine the structure of organic molecules. It works by applying a strong magnetic field to atomic nuclei, which causes them to absorb and emit radio waves. NMR spectroscopy is commonly used to analyze hydrogen-1 and carbon-13 nuclei. The NMR spectrum provides information about the number and type of different nuclei in a molecule, as well as their molecular environment and connectivity. This technique has many applications, including structure elucidation of unknown compounds and determination of optical purity.