This type of transistor has only two pins, the collector and the emittor. Because they have no base pin, they can sometimes be mistaken for a normal diode or an LED. The amount of light falling on them acts instead of the base current and once a certain level is reached, the transistor is switched on.