The calcium and magnesium ions causes waters hardness. Water softening filters remove these ions from the water.