Which process turns sediment into sedimentary rock?

Responses

melting and cooling

melting and cooling

plants or animals becoming trapped between layers of sediment

plants or animals becoming trapped between layers of sediment

compaction and cementation of sediment

compaction and cementation of sediment

weathering and erosion

compaction and cementation of sediment