Water conains dissolved calcium hydrogen carbonate is called hard water.This water form insoluble precipitate with soap.Synthetic detergents donot form this type of precipitates.So synthetic detergents are used for cleaning clothes with water containing dissolved `Ca(HCO_(3))_(2).