Why does a magnesium ribbon burn with a dazzling white flame?

Why does a magnesium ribbon burn with a dazzling white flame?

Answer:
This is because magnesium reacts with oxygen in air to form white coloured magnesium oxide.