Sedimentary rock
Sedimentary rock is the formation of deposited rock being compacted and formed into layers after millions of years
Dead organisms die and fall to the bottom of the water source and after long heat and compaction become peat a creamy brown substance soon to turn into to firm black coal after millions of years.Erosion can also cause sedimentary rock to form when the rock piles and becomes firm and sturdy.