The basic principle of spectroscopy involves passing light through a sample and measuring the light that is either absorbed or emitted. The resulting spectrum, which plots light intensity versus wavelength, reveals characteristic peaks corresponding to specific molecular features. These spectral data are then interpreted to gain insights into the chemical composition, concentration, and physical properties of the sample.