This chapter discusses how materials interact with their environments and the various corrosion mechanisms that can occur. It describes five main types of corrosion: uniform corrosion, galvanic corrosion, pitting and crevice corrosion, hydrogen embrittlement, and stress-assisted corrosion. It also discusses methods to prevent corrosion, including material selection, design modifications, cathodic protection, and use of protective coatings. Corrosion represents a huge economic cost, so preventing its deleterious effects on materials is important for engineering applications.