The structure of the LED light is completely different than that of the light bulb. Amazingly, the LED has a simple and strong structure. The beauty of the structure is that it is designed to be versatile, allowing for assembly into many different shapes. The light-emitting semiconductor material is what determines the LED's color.
As indicated by its name, the LED is a diode that emits light. A diode is a device that allows current to flow in only one direction. Almost any two conductive materials will form a diode when placed in contact with each other. When electricity is passed through the diode the atoms in one material (within the semiconductor chip) are excited to a higher energy level. The atoms in that first material have too much energy and need to release that energy. The energy is then released as the atoms shed electrons to the other material within the chip. During this energy release light is created. The color of the light from the LED is a function of the ingredients (materials) and recipes (processes) that make up the chip.