Pitting is a type of localized corrosion that results in the formation of small, deep cavities or holes on the surface of a metal. This type of corrosion is often associated with the breakdown of a protective oxide film on the metal, leading to the selective dissolution of the underlying material.