The sedimentary rock in question is sandstone.
Sandstone is a clastic sedimentary rock made up mostly of weathering sand size debris that accumulates where the waters are slower.
Sandstone is formed by all of the processes named above.
-weathering of the rocks
-erosion caused by water and wind
-transportation by water bodies
-deposition by the water masses where they are slower
-lithification under the pressure
-compactation while mixing with multiple other sediments.
Layers of the soil are called horizons. Here are the horizons:
- Humus
- Topsoil
- Subsoil
- Fragmented rock
- Bedrock
Once a soil has developed, it forms layers called horizons. Beneath a surface layer of a plant remains, the topsoil is rich in decomposed plants and animal matter. The subsoil is mainly mineral particles, with much less organic material. The fragmented rock/bedrock is primarily small stones, and beneath it lies all bedrock.
Hope this answer helps you!