Question: how does a rcd work?
Answer: Under normal circumstances, the current flowing in the two wires is equal. When an earth leakage occurs due to a fault in the circuit or an accident with the equipment, an imbalance occurs and this is detected by the RCD, which automatically cuts off the power before injury or damage can result.