Foxconn interview question

Explain the working of RCCB and MCB