Nuclear Magnetic Resonance Spectroscopy (NMR) is a technique used to analyze organic molecules. Certain nuclei, such as 1H and 13C, have nuclear spin and behave like tiny magnets when placed in an external magnetic field. NMR spectroscopy detects the absorption of radiofrequency energy by these nuclei as they transition between spin states. The frequency of absorption depends on the shielding of the nucleus by its chemical environment. NMR spectra provide information about a molecule's structure by revealing the number and types of nuclei present and their connectivity.