Detergents chemically are sodium or potassium salts of sulphonic acid of benzene or alkene.
Merits:
(i) They work well with hard water.
(ii) They are more effective than soaps.
Demerits:
(i) They are expensive.
(ii) Some of them having branching are non-biodegradable, therefore create water pollution. Detergents are suitable for hard water having Mg2+ and Ca2+ ions because they do not form insoluble salts with Mg2+ and Ca2+ ions.