The process of transferring a charge from a charged body to the Earth is called as:
Earthing
Earthing is the process of creating an alternative path for the flow of fault/excessive currents safely into the ground. In electricity supply systems, an earthing system or grounding system is used which connects parts of the electric circuit with the ground. Earthing is provided in buildings to protect us from electrical shocks due to any leakage of electric current.