A lightning arrester protects the electrical network and the structures from lightning. When lightning strikes, it creates massive destruction and…