probably the biggest function of oil in most baking recipes is to keep your product moist. it basically captures the gases that are released from the interaction of the baking powder and baking soda, and slows down gluten formation to keep certain baked goods tender and fluffy in texture!