In chemistry, a corrosion inhibitor or anti-corrosive is a chemical substance that, when added to a liquid or gas, reduces the rate of corrosion of a material, usually a metal or an alloy, that comes into contact with the fluid. The fluid composition, amount of water, and flow regime all affect how well a corrosion inhibitor works. Corrosion inhibitors are often used in industry and may also be discovered in over-the-counter treatments. They are generally applied in spray form together with a lubricant and occasionally a penetrating oil. They can be added to water to stop copper or lead from pipes from leaching. A typical method of preventing corrosion includes the development of a coating, sometimes called a passivation layer, which blocks the corrosive substance's access to the metal. However, corrosion inhibitors are additions to the fluids that surround the metal or related item. Permanent treatments like chrome plating are often regarded as inhibitors.