Sour cream serves several purposes in this chocolate cake batter. First, it adds moisture to the cake, helping to create a tender and moist texture. Second, the slight acidity in sour cream helps to activate the baking soda in the cake mix, giving you a fluffy chocolate cake. Finally, sour cream adds a subtle tangy flavor that goes perfectly with the richness of the chocolate.