Soaps are made through saponification, the process of reacting fats or oils with alkalis. They are cheap and biodegradable but do not work well in hard water which causes insoluble scum. Detergents are made through chemical processes using petroleum products or natural esters reacted with alkalis. They contain surfactants, phosphates, and other additives. Detergents are more effective than soaps for hard water, but many varieties are non-biodegradable and can cause environmental harm. Both products have advantages like low costs but also disadvantages like limited cleaning power or environmental impacts.