The main reason for doing earthing in electrical network is for the safety. When all metallic parts in electrical equipments are grounded then if the…