Diodes in LED lighting consist of semiconductor layers measuring 0.5 microns or less. Each layer alternates between an excess and a deficit of electrons, allowing the electrons to pass between the layers to create light energy.