Detailed Analysis
This is debated among scholars.
Alcohol deliberately added as an ingredient is generally considered haram.
Alcohol naturally occurring through fermentation (like in bread, soy sauce, vinegar) is generally considered halal by most scholars as it is a natural byproduct. Alcohol that evaporates during cooking is permitted by many scholars. Alcohol used as a carrier in flavorings (like vanilla extract) is debated.