For sediment to be transformed into rock, what processes must take place?
A. weathering and erosion
B. melting and spreading
C. crystallization and solidification
D. compaction and cementation