Smoke detector
Photoelectric smoke detectors rely on detecting a lack of light to set the alarm off. The light used could be infrared, visible light, or ultraviolet. When smoke blocks out the light inside a photoelectric smoke detector, the smoke detector detects that there is less light. Below a certain brightness, whether or not it comes from smoke or not, the photoelectric smoke detector will beep.