photodetectors, also called photosensors, are sensors of light or other electromagnetic radiation. a photo detector has a p–n junction that converts light photons into current. the absorbed photons make electron–hole pairs in the depletion region. photodiodes and photo transistors are a few examples of photo detectors. solar cells convert some of the light energy absorbed into electrical energy.