Grounding or earthing is nothing but the practice to channeling the extra current to a main power point under the ground. The objective is achieved with the help of low-resistance cables or rods so that the discharged energy is stored quickly.
Electrical earthing is primarily used to prevent electric shock risks associated with current flowing from the ground in an unfavorable path and to ensure that a conductor's potential.
A "conducting connection, whether deliberate or unintentional, between an electrical circuit or equipment and earth or other conducting body," according to the National Electrical Code.