Yellow cake uses whole eggs, while white cake uses just egg whites. The egg yolks add a richness and color to the batter of a yellow cake recipe.