Successful baking requires precise ingredients, measurements, and timing, but, as Leaf puts it, this ingredient swap "usually improves a cake." Leaf explains that both butter and vegetable oil identically act as the necessary fat element in your cake.