Earthing is the process of transferring any immediate discharge of electricity directly to the earth. Most of the electrical appliances are earthed to avoid the risk of electric shock from the metal body. This is used as a safety measure for those devices with a metal body such as electric iron, toaster, etc. it keeps people safe and prevents damage to the electrical machine.