An optocoupler is a component consisting of a photodiode(LED) and an electrically isolated phototransistor. It is used for signal transmission and is often used for galvanic isolation in the control circuit of power supply units. (For more see Wikipedia)