Baking soda(sodium bicarb, NaHCO3) when heated in water creates sodium carbonate(Na2CO3), some water and CO2. Sodium carbonate can be used as a Sodium hydroxide(NaOH) substitute, although it is less efficient. The earliest soaps were made with Potash of some form.