The basic principle involves passing a light beam through a sample and measuring the intensity of light before and after it passes through the sample. The device typically includes a light source, a monochromator to select specific wavelengths, a sample holder, and a detector. The difference in light intensity allows for the calculation of the absorbance, which is directly proportional to the concentration of the absorbing substance.