The term "baking soda" comes from its primary role as a leavening agent in baking. It is a sodium-based compound (sodium bicarbonate) that reacts with acidic ingredients in recipes to produce carbon dioxide gas. This gas forms bubbles in dough or batter, causing it to rise and giving baked goods a light, airy texture. Hence, it became a staple for "baking" and earned its name.