The vinegar causes a chemical reaction in the cake, boosting the flavor and giving the cake more lift.