Clastic sedimentary rocks are made up of pieces (clasts) of pre-existing rocks. Pieces of rock are loosened by weathering, then transported to some basin or depression where sediment is trapped. If the sediment is buried deeply, it becomes compacted and cemented, forming sedimentary rock.