An RCCB is a safety device that quickly disconnects a circuit when it detects a leakage current, preventing electric shock.