It adds a chemical reaction thanks to the leavening agents in the mix and the carbonation in the soda that allows the cake to turn out fluffy and flavorful moist without the need for oils and other ingredients.