How was Coal formed?
About 300 years ago the earth had dense forests in low lying wetland areas. Due to natural processes, like flooding these forests got buried under the soil. They get sank deeper and deeper and temperature gets increasing day by day, under high pressure and high temperature dead plants slowly got converted to coal.