Corrosion and scale inhibitors are produced from chemicals such as trisodium phosphate, sodium carbonate, and tetrasodium EDTA. They react with calcium and magnesium ions in water to form loose sludge, which is removed through blowdown. These inhibitors have strong buffering capacity against both acids and bases, preventing acidic and alkaline corrosion. They also improve the chemical properties of deposits in machinery, reducing corrosion in turbines.