Concept:
Earthing means connecting the metallic body of electrical equipment to the earth through a low resistance path.
Step 1: If insulation fails, the metallic body of an appliance may become live.
Step 2: If a person touches such equipment, current may pass through the human body.
Step 3: Earthing provides an easy and low resistance path for leakage current to flow into the ground.
Step 4: This prevents electric shock and protects both human beings and electrical equipment.
Therefore, the purpose of earthing is:
\[
\boxed{\text{To provide safety against electric shock}}
\]