The rapid oxidation of a material to give off energy in the form of heat and light is known as -
Combustion
Combustion is the process of rapid oxidation of a fuel to give off a large amount of energy in the form of heat and light. In some cases, it can happen at slower rates also.
In the case of coal -
C + O2 ⇒ CO2