Corrosion is the deterioration of materials due to chemical or electrochemical reaction with the environment. It is an inevitable process that leads to significant economic losses. Corrosion engineering studies corrosion mechanisms and works to prevent or control corrosion economically and safely. Common types of corrosion include galvanic, erosion, crevice, pitting, and microbiologically influenced corrosion. Factors that influence corrosion include the metal properties, environmental conditions like temperature, pH, and presence of ions. Protection methods include material selection, cathodic protection, modifying the environment, metallic coatings, inorganic coatings, and organic coatings.