A UV-Vis spectrophotometer passes light through a sample and measures the intensity of light before and after it passes through. The difference in intensity allows for the calculation of the sample's absorbance. This absorbance can be correlated to the concentration of the sample using the Beer-Lambert law.