Baking soda is added to the caramel to react with the acid (the brown sugar and corn syrup). This reaction causes the caramel to bubble and expand, resulting in a lighter and more delicate texture.