A ballast is an electrical device needed to operate HID (High Intensity Discharge) lamps (light bulbs). Examples of HID lamps are Metal Halide and High Pressure Sodium (HPS).