Baking soda is used in recipes that also include an acidic ingredient, such as cream of tartar, buttermilk, or citrus juice. Conversely, baking powder is typically used when the recipe doesn't feature an acidic ingredient, as the powder already includes the acid needed to produce carbon dioxide.