Corrosion of a metal object under deposition on contact with other metallic (conductive) bodies (contact corrosion) or non-metallic (non-conductive) substances (coating corrosion) with formation of a corrosion element. The electrolyte exerts a significant influence on which part is the anode and which cathode of the corrosion element and is thus attacked.