An electric circuit is a closed loop made up of a generator, wires, and devices like light bulbs. Electricity can only flow through the circuit when the switch is closed, completing the loop and allowing the current to power the light bulb. Opening the switch breaks the circuit, stopping the electricity from flowing.