Question: what is the chemical reaction in elephant toothpaste?
Answer: The sodium iodide reacts with the hydrogen peroxide (H2O2) by removing an oxygen atom. This essentially produces water and oxygen gas (H2O + O2). The oxygen gas produced gets trapped in the soap which produces the big ball of foam. The reaction produces oxygen gas, water and iodine.