Irene is working on a series circuit for her science lab class. The circuit is made up of a battery, a light bulb, a switch, and connecting wires. When Irene flips the switch, the light bulb lights up. What did the switch do for the circuit?

AThe switch had no effect on the circuit.
BThe switch provided light energy to the bulb.
CThe switch produced the electricity for the circuit.
DThe switch completed the circuit.