A circuit breaker protects electrical circuits from damage caused by overloading or short circuits. It contains a switch that is connected to an electromagnet or bimetallic strip. When the current reaches unsafe levels, the electromagnet or bimetallic strip activates the switch mechanism to break the connection between the stationary and moving contacts, interrupting the current flow and protecting the circuit. There are several types of circuit breakers that differ in how they interrupt the electric arc, including oil circuit breakers, air circuit breakers, SF6 circuit breakers, and vacuum circuit breakers.