Spectroscopy encompasses a broad range of techniques that measure the interaction between light and matter. These techniques can be categorized based on the type of electromagnetic radiation used, such as ultraviolet (UV), visible, infrared (IR), and nuclear magnetic resonance (NMR) spectroscopy. Each type provides unique information about the chemical structure and composition of the sample.