Wind and water carry sediments and deposit them in layers usually in a lake or ocean bottom. The process that turn sediment into solid rock are compaction and cementation. The processes of compaction and cementation together are known assedimentation.