How does Baking Powder work as a raising agent?

Question: How does baking powder actually work as a raising agent and what is it made from?

Answer: The ingredients of baking powder are usually a mixture of sodium bicarbonate and either cream of tartar or tartaric acid.

As a raising agent the powder works by generating carbon dioxide gas when it’s either heated up or exposed to moisture. In the process of baking, this results in making the dough rise up.