Brown sugar contains molasses, which not only adds flavor but a bit of acidity as well. The molasses reacts with the baking soda, which helps with leavening, creating a puffy cookie.