Why do you add vanilla extract after removed your food from heat for instance I am making cinnamon glazed almonds and it says remove then stir in why?

Adding vanilla extract after removing food from heat is a common technique used to preserve its delicate flavor and aroma. Vanilla extract contains volatile compounds that can easily evaporate when exposed to high temperatures. By adding it after cooking or baking, these compounds are better preserved, resulting in a more pronounced vanilla flavor in the final dish.

In addition, adding vanilla extract after removing from heat helps prevent its flavor from becoming overpowered by other ingredients or spices. For instance, in the case of cinnamon glazed almonds, adding vanilla extract after removing them from the heat ensures that the subtle vanilla flavor complements the cinnamon without being overpowered.