Switch
It is a component that regulates or controls the flow of electrical current in a circuit when the switch is closed, electricity flows through the circuit.
But when it is open, the switch breaks the circuit and since air does not conduct electricity, there will be no electricity in the circuit.