UV-Vis spectroscopy operates on the principle that molecules absorb light at specific wavelengths, causing electronic transitions. When a beam of light passes through a sample, certain wavelengths are absorbed, and the remaining light is transmitted. The absorbance is measured, producing a spectrum that reflects the sample's molecular composition. This spectrum can be used to deduce the concentration of the absorbing species through the Beer-Lambert law.