vanilla extract is not necessary in terms of the structure of a baking recipe. however, leaving it out of a recipe will change the flavor. vanilla extract enhances the flavor in cookies, cakes, and muffins and other recipes.