Here's a breakdown:
* Sandstone: Formed from cemented sand grains, often found in layers.
* Shale: A fine-grained sedimentary rock formed from compacted clay and mud.
* Coal: A fossil fuel formed from the remains of ancient plants, often found in layers within the shale and sandstone.
These rocks were formed over millions of years by the accumulation of sediments in ancient swamps and river deltas. The pressure and heat of burial transformed these sediments into the rocks we see today.