It's a delicate balance between gas production, flavor, and browning for most baked goods, which is why you often see both used in the same recipe. Even professionals must experiment to get that ratio just right, and it's another reason why most baking requires adherence to exact recipe ingredients and measurements.
Why Do Recipes Include Both?