Yes! When baking soda is mixed with an acid, it produces bubbles and carbon dioxide gas, which causes cookie dough batter to rise and become chewy as it bakes.