The phototransistor is a light sensor formed from a basic transistor with a transparent cover. It has higher sensitivity than a photodiode. Phototransistors use the transistor effect to amplify the current generated by light, providing gain. They can use homojunction or heterojunction structures and operate in either linear or switch modes depending on the circuit configuration and load resistor value. Common emitter and common collector circuits are widely used.