that is called erosion. when rocks break down into sand and then later are compacted into another rock form.
weathering or erosion
9.5m questions
12.2m answers