Hulls of ships and, in general, other parts of boats can be protected using a "sacrificial metal". Zinc or magnesium may be used for this purpose. The zinc or magnesium piece is placed in direct contact with the steel hull. Explain the chemical process that protects the hull of the ship.