It is caused by hydrogen trioxocarbonates of Ca and Mg. They are hardness that can be removed by boiling.
Ca (HCO3)2(aq) → CaCO3(s)+ CO2(g) + H2O(l)
It cannot be removed by boiling. It is caused by tetraoxosulphate (iv) salts of Ca2+ and Mg2+