Earth wires:
If there is a fault, so that an exposed metal part is then live, the earth wire, which is also connected to the exposed metal part, lets the current flow through itself with its low resistance, enabling there to be a massive current, letting the fuse melt and defusing the situation