Why Detergent is better than Soap?

Detergent is better than soap for the following reasons: Soap does not work well in hard water since the Ca2+, Mg2+ ions of hard water react......