What is "baking powder"? How does it make the cake soft and spongy?

What is the role of substance X in the baking powder?

Baking powder is a mixture of baking soda and tartaric acid. When baking powder mixes with water, then sodium hydrogencarbonate reacts with tartaric acid to evolve carbon dioxide gas which gets trapped in the wet dough and bubbles out slowly making the cake soft and spongy.


46