Question: why baking soda and baking powder in cookies?
Answer: That's why baking powder is used as well– to add necessary lift. Basically, the reason for both is because sometimes you need more leavening than you have acid available in the recipe. It's all about balance. Another reason to use both baking powder and baking soda is because they affect both browning and flavor.