Four basic processes are involved in the formation of a clastic sedimentary rock:
weathering (erosion)caused mainly by friction of waves, transportation
where the sediment is carried along by a current, deposition and
compaction where the sediment is squashed together to form a rock of this kind.