When you add baking soda to the caramel syrup it bubbles up creating tiny air bubbles that aerate the syrup and prevent it from being too thick and dense.