The answer to 'how does switch work' is that a switch is a simple electrical device used to control the flow of electricity in a circuit. Switches work by creating or breaking the electrical connection, allowing or preventing the flow of current to a device or appliance.
When a switch is in the 'on' position, it completes the circuit and allows electricity to flow. When the switch is in the 'off' position, it breaks the circuit and stops the flow of electricity. This allows you to turn devices on and off as needed. Switches come in a variety of types, including toggle switches, rocker switches, and push-button switches, and are used in many electrical applications throughout the home.