The answer to 'how does circuit breaker work' is that a circuit breaker is a safety device that automatically interrupts the flow of electricity in an electrical circuit when it detects a problem, such as a short circuit or an overload. Circuit breakers are designed to protect electrical systems and prevent fires or other hazards caused by electrical faults.
When too much current flows through a circuit, the circuit breaker senses the increased current and trips a switch that cuts off the power supply. This stops the flow of electricity and prevents damage to the circuit and connected devices. Circuit breakers can be reset to restore power once the problem has been identified and addressed.