An RCD (Residual Current Device), commonly called a safety switch, is designed to quickly disconnect the electricity supply when it detects certain types of current leakage.
This provides an important additional layer of protection against electric shock.