A circuit breaker is a safety device that protects the electrical system from overloads and short circuits. It automatically cuts off power to a circuit if it detects a fault, preventing damage to appliances and reducing the risk of electrical fires.