Depending on the type of cookie, you might require one or both. Baking powder and baking soda are leavening agents that release carbon dioxide gas in baked goods. These air bubbles create a rise in baked goods. Although they have similarities, baking powder is good for recipes with no acidic ingredients, as it already has CO2. Baking soda is better for recipes that feature acidic ingredients.