The Light Emitting Diodes (LED) is similar to the regular diode except that it emits energy in the visible range due to which the glow is seen. In led, one pin is longer then the other. The longer pin is the anode, the positive side. The shorter pin|
is the cathode, the negative side.