Magnesium nitride (Mg3N2) is obtained.
you get a flare
hydrogen is produced
it is a combustion reaction or oxidation snce it happens with oxygen.
It will react slowly to form magnesium hydroxide and hydrogen gas.
Oxydation of magnesium: 2 Mg + O2 = 2 MgO
The burning splint cannot continue burning without oxygen. If placed in a container with only carbon dioxide, the fire will go out.
Magnesium is one of the metals that can actually burn in absence of oxygen. There are some videos on Web that you can look for where they show you burning of magnesium metal chunks in between dry ice slabs. This is the reason why firefighters do not use typical carbon dioxide fire extinguishers to put out the fire that has caused by magnesium metal.
when magnesium is burnt it starts to spark and then shines a very bright light and is left with a powder which is called magnesium oxide (MgO)
Th burning splint will go out because there is no oxygen to feed the flame.
Organic materials release carbon dioxide and water by burning.