Cobalt is a ferromagnetic element with similar physical properties to iron and nickel. It is extracted…