Which of the following best describes how a switch functions in an electrical circuit?
A switch functions by opening or closing an electrical circuit, thereby stopping or allowing the flow of electric current. When the switch is closed, it completes the circuit, allowing current to flow. When the switch is open, it breaks the circuit, stopping the flow of current.