Soaps are natural salts of fatty acids, while detergents are synthetic and work better in hard water.