LEDs

The P-N junction is the basis of the functioning of the LED. The LED
has an anode and a cathode separated by a crystal of semiconductor
material. Addition of impurities to the semiconductor material produces
P-N junctions within the chip. The entire assembly is housed within a
plastic cover that can also double up as a lens to guide the light
emitted by the LED.