Batteries in a flashlight are the power sources that provide electrical energy to light the bulb, allowing the flashlight to illuminate dark areas. These batteries can be arranged in various configurations to supply the necessary voltage and current for the flashlight's operation, often using common battery types like AA, AAA, or 9V. The arrangement of batteries can significantly impact the overall performance and duration of the flashlight's light output.