Question: what are the conditions necessary for corrosion to occur?
Answer: Three things are necessary for corrosion to occur: an electrolyte, an exposed metal surface, and an electron acceptor. Corrosion can be prevented by removing one of these conditions. Coating a metal surface with paint or enamel provides a barrier between the metal and the moisture in the environment.