What’s the purpose of baking with soda pop? Well, when it’s baked into a cake, the carbon dioxide bubbles can act as a leavener to make the cake lighter and fluffier. Here, it helps add a sweet flavor to the sauce that pairs well with the dumplings themselves.