An electronic device that lets current flow in only one direction. Semiconductor diodes used in fiber optics contain a junction between regions of different doping. They include light emitters (LED’s and laser diodes) and detectors (photodiodes).