Understanding the different types of corrosion and how microstructure can affect a material's susceptibility to corrosion.