 in the formation of sedimentary rock, sediment formed by erosion is deposited & in the formation of sedimentary rock , burying the sediments follows depositing the sediments ->  in the formation of sedimentary rock, sediment is deposited then buried