Dear Student
Coal, coke and charcoal are burnt and they produce carbon dioxide.
They are burnt in the presence of oxygen and the product formed is carbon dioxide. Carbon dioxide is a colourless, odourless gas that is formed.
C + O2 CO2
Regards