There are basically two type of hardness of water i.e temporary hardness and permanent hardness
1.Temporary Hardness- It is caused due to the prescenceof bicarbonates of calcium and magnessium i.e Ca(HCO3)2 AND Mg(HCO3)2 .It is also called carbonate hardness . It can be removed by boiling and filtering the water.
2.Permanent Hardness- It is caused due to the presence of soluble chlorides and sulphates i.e CaCl2 ,MgCl2 ,MgSO2 ,CaSO4 . It is also called non carbonate hardness