Here's the chemical equation for the reaction:
C + O2 → CO2
This reaction is a combustion reaction, where carbon reacts with oxygen to produce carbon dioxide and releases energy in the form of heat and light.