Dear student
Constituents of coal gas are mainly hydrogen and methane with small amounts of other hydrocarbons, carbon monoxide (a poisonous gas), carbon dioxide, and nitrogen.
It is used in lighting. The gas is also used for heating. It is also used for cooking. It is used as a fuel.
with regards
With regards