formation of sedimentary rocks: small particles of rock or dead animal and plant are deposited under a river or sea. over time layers of rock fragments will accumulate on top of one another. this cause the layers to become cement and compact squeezing out all the moisture of the layers creating a solid rock