An RCCB device detects the difference in current flowing between the phase and neutral wires. It trips in the event of an imbalance in the current to ensure no risks are created.