Plants Over millions of years, plants died in layers and would be pushed further and further into the soil. After the plants decayed, heat and compression would force out oxygen and change the chemical composition, causing the decayed plant material to harden and form into carbon, resulting in coal.