Earthing is used to protect you from an electric shock. It does this by providing a path (a protective conductor) for a fault current to flow to earth. It also causes the protective device (either a circuit-breaker or fuse) to switch off the electric current to the circuit that has the fault.
Why is earthing needed?
Earthing is an important component of electrical systems because of the following reasons: It keeps people safe by preventing electric shocks. It prevents damage to electrical appliances and devices by preventing excessive current from running through the circuit.
Why is earthing done in the ground?
The earthing protects the personnel from the shortcircuit current. The earthing provides the easiest path to the flow of shortcircuit current even after the failure of the insulation. The earthing protects the apparatus and personnel from the high voltage surges and lightning discharge.