Compact fluorescent lamp

A compact fluorescent lamp (CFL), is a type of lamp (or light bulb) designed to fit into the same space and usually also the same socket as an incandescent bulb, but with the advantages of a fluorescent lamp. Many CFLs can directly replace an existing incandescent lamp. They were invented late in the 20th century and much used after the turn of the century (after 2000).
The purchase price of a CFL is often much higher than an incandescent lamp of the same output, and the light from CFLs looks different to light from incandescent lamps. CFLs have a longer rated life and use less energy than an incandescent lamp of the same brightness. A CFL can save over US$30 in electricity costs over the lamp's lifetime compared to an incandescent lamp.
As in other fluorescent lamps, electrified mercury vapor emits ultraviolet (UV) light. A phosphor converts it to visible light. The ballast prevents too much electricity from flowing through the tube. It is usually in the plastic base of the bulb. If the ballast is in the bulb, the bulb is called a self-ballasted lamp. Most are electronic ballasts.
Lifespan
The average rated life of a CFL is 8 to 15 times longer that of incandescents. CFLs typically have a rated lifespan of 6,000 to 15,000 hours, whereas incandescent lamps are usually manufactured to have a lifespan of 750 hours or 1,000 hours.
The lifetime of any lamp depends on many factors, including operating voltage, manufacturing defects, exposure to voltage spikes, mechanical shock, frequency of cycling on and off, lamp orientation, and ambient operating temperature. The life of a CFL is significantly shorter if it is turned on and off frequently. In the case of a 5-minute on/off cycle the lifespan of a CFL can be reduced to "close to that of incandescent light bulbs". The U.S. Energy Star program suggests that fluorescent lamps be left on when leaving a room for less than 15 minutes to avoid this problem. If the light must be switched on and off frequently, Cold cathode CFLs can be used. Cold cathode CFLs are designed for many more on/off cycles than standard CFLs.
Mercury content and recycling
The mercury inside the tube is toxic and makes these bulbs hazardous waste. The bulbs must be taken to a recycling center after they stop working. Most CFLs contain an amount of mercury smaller than the tip of a ballpoint pen. During normal use, the mercury cannot escape, although it will escape if the bulb is broken. If a single bulb breaks, it is not usually a cause for concern. It is recommended to open windows to air out the room, and to clean up broken glass with duct tape instead of a vacuum cleaner.
Alternatives
High-intensity discharge bulbs such as sodium-vapor, mercury-vapor, and metal-halide lamps are used for lighting large areas, although like fluorescent lamps they contain mercury. Their main advantage is much higher light output.
Halogen bulbs with a halogen capsule inside a standard incandescent bulb housing contain no mercury. They use more energy than CFLs, but less than traditional incandescents.
LED bulbs are also becoming a popular alternative. They are also mercury-free, and use about the same amount of energy as CFLs.