Baking soda reacts with the acid in the cookie dough -- in this case, the brown sugar. It helps to create a lift and lighter texture to the cookie, as well as contributing to the golden brown color!