People tend to use baking soda in recipes with acidic ingredients, such as cocoa powder or buttermilk. When added to a mixture, the baking soda interacts with the acid and creates carbon dioxide. Baking in a hot oven makes the batter expand and rise, giving the finished product a soft and fluffy texture.