Baking powder or baking soda helps the cookies rise and become slightly puffy during baking. Baking soda also contributes to browning and can affect the cookies' flavor.