Compact fluorescent 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.