How does Sedimentary Rock Form?

Sedimentary rocks are formed over a vast period of time. Dust and dirt settle in layers and then as more and more dirt settles on top allot of pressure is put on the original layers. Eventually the pressure will mash and bind some of the layers together forming rocks.