How does coal form?

Slide 4Coal are formed under the ground from  dead plants and animals from the carboniferous period. They are pressured together with the thousands of layers of sediments for millions of years to become concentrated carbon.
The overview steps of how coal is formed:
Firstly, there was a forest which grew in a bog or swampy area and then died. 
Secondly, sand, clay, mud, rock and other sediments settled on top of the remains of the rotting forest which turned it into “peat”, spongy brown stuff.
Thirdly, as time passed, there would be layers of sediments and then their weight would compress them together while heating it up, pushing out the water and gases from the “peat”, leaving it with only carbon.
Fourthly, heat and pressure turned the “peat” into coal after millions of years.
Lastly, it would be dug out and transported to places where it could be turned into energy used for everyday life which would also destroy the ozone layer.
FACT: Coal produces the most greenhouse gases than any other fossil fuel.