The carbon dioxide in the Coke acts as an extra leavening agent in the batter. This is what gives your Coke cake its light and fluffy texture. It’s also why you only need to use baking soda, instead of the typical baking soda/powder combination.