Corrosion is the degradation of material properties caused by interactions between a material and its environment. It occurs via various chemical and electrochemical processes involving electron and ion transport. Factors like oxygen, water, temperature, pressure, other metals, bacteria and cells influence the corrosion rate. Passivation and anodic protection are two common methods used to prevent corrosion. Passivation creates a protective oxide layer barrier while anodic protection coats a more active metal with a less active one. Corrosion can be classified as chemical or electrochemical depending on the mechanism.