Coal  is a light, black substance which comes from the fossilization of vegetable matter.  Coal is used as an industrial fuel, in power stations and in home heating. There are 4 types of coal: anthracite, bituminous coal, lignite and peat.
You can see how they are formed in the following animation. 

Licencia de Creative Commons Licencia Creative Commons Reconocimiento-No Comercial-Compartir Igual 3.0 España
logo INTEF
Ministerio de Educación, Cultura y Deporte