Earthing, also known as grounding, is a fundamental safety measure in electrical systems. It's a method that connects the neutral…