Corrosion inhibitors are chemicals that, when added in small amounts to an environment, significantly decrease the corrosion rate of metals. They can be used in various forms including liquids, coatings, and even as part of composite materials. The core function of these inhibitors is to form a protective layer on the metal surface, which prevents corrosive substances from reaching the metal.