Hardness of water is due to the presence of:
Sodium salt
Potassium salt
Calcium and magnesium salts
Non-metals
Hardness of water is due to the presence of calcium and magnesium salts.