Sacrificial metals are widely used to prevent other metals from corroding: for example in galvanised steel. Many steel objects are coated with a layer of zinc, which is more electronegative than iron, and thus oxidises in preference to the iron, preventing the iron from rusting. Similarly, sacrificial bars of a metal such as aluminium or aluminium alloys can be attached to an oil rig or to the hull of a ship to prevent it from rusting and breaking down. Magnesium may similarly be used on dry land for installations such as pipelines and oil refineries, where its high driving voltage is better for overcoming the resistance of soils found on dry land.