Sour cream adds flavor and richness to a cake due to its acidity and high fat content. It also helps soften the gluten that develops in the batter, making the crumb more moist and tender crumb.