If the water contains dissolved calcium hydrogen carbonate, out of soaps and synthetic detergents which one will you use for cleaning clothes?
If calcium salts are present in water, then it is recommended to use synthetic detergent because soap will precipitate to give white scums and it will not clean the clothes.
On the other hand, if we use synthetic detergents, it will be dissolved in hard water also and provide effective cleaning of dirty clothes.