UV-visible spectrophotometers have five main components: a light source, filters or monochromator, sample compartment, detector, and recorder. Common light sources include tungsten lamps for the visible region and deuterium lamps for the UV region. Filters and monochromators are used to select the wavelength of light. Samples are placed in the sample compartment for analysis. Detectors such as photodiodes, photomultiplier tubes, or barrier layer cells convert light signals to electrical signals. The signals are then recorded to obtain a spectrum.