An earthing system (UK) or grounding system (US) connects specific parts of an electric power system with the ground, typically the Earth's conductive surface, for safety and functional purposes. ... In addition to electric power systems, other systems may require grounding for safety or function.
Protection from power surges: Earthing can protect from sudden excessive surges, it also provides protection from lightning strikes. Any lighting strikes on the exposed metal or received through another path which is connected to earth line get discharged directly to earth