LED stands for light-emitting diode. A diode is a small 'chip' in a circuit. When an electric current passes through it, it gives out light but very little heat.
The diode can be placed in a curved transparent plastic container which protects it and is also shaped to act as a lens (top diagram), or it can be placed inside a glass bulb as part of a pattern of light when direction is not important (bottom picture).