What is the element in baking soda that turns a flame yellow?

The correct answer is sodium.

Baking soda is a common kitchen ingredient with the chemical formula NaHCO3. It is a white, crystalline powder that is soluble in water. When heated, baking soda decomposes to produce carbon dioxide gas, water vapor, and sodium carbonate. The sodium carbonate is what gives baking soda its salty taste.

When baking soda is added to a flame, the sodium atoms in the baking soda react with the oxygen in the air to produce sodium oxide, which is a yellow flame. This is why baking soda is sometimes used to create yellow flames in fireworks and other pyrotechnic displays.