In order for sediment to be transformed into rock, what processes must take place?


A.

melting and spreading


B.

crystallization and solidification


C.

weathering and erosion


D.

compaction and cementation