A circuit breaker is an electrical switching device that automatically interrupts the flow of electric current in a circuit when it detects an overcurrent or a fault condition. It is designed to protect electrical circuits and connected devices from damage due to excessive current or short circuits.
The primary purpose of a circuit breaker is to prevent electrical fires and equipment damage that could occur if an excessive current flows through a circuit for an extended period. By interrupting the current flow, the circuit breaker stops the current from reaching dangerous levels and thereby protects the circuit and connected appliances or devices.