Calcite, a naturally occurring calcium carbonate mineral, functions as a pH adjustment medium in water treatment by slowly dissolving to neutralize acidic water. As water flows through calcite, it releases calcium and bicarbonate ions, raising both the pH and mineral content of the water while simultaneously preventing corrosion in plumbing systems.