If you are making soaps and detergents from scratch, one of your starting ingredients will be:
Potassium hydroxide.
Sodium hydroxide.
Sodium chloride.
Calcium carbonate.