Phototransistors are solid-state light detectors with internal gain that are used to provide analog or digital signals. Phototransistors are used in almost all electronic devices that depend on light including smoke detectors, laser-ranging finding devices, and optical remote controls