it is D.
Sedimentary rocks are formed when soil, rocks, or the remains of dead organisms undergo layering and compaction. During these processes, mass is conserved. The materials needed to form a certain amount of rock is equal to the mass of the all the original parts making the rock.