A corrosion inhibitor is a chemical compound that, when added to a liquid or gas, decreases the corrosion rate of a material, typically a metal or an alloy, that comes into with the fluid. The effectiveness of a corrosion inhibitor depends on fluid composition, quantity of water, and flow regime. Corrosion inhibitors are common in industry, and also found in over-the-counter products, typically in spray form in combination with a lubricant and sometimes a penetrating oil. They may be added to water to prevent leaching of lead or copper from pipes.