Here's a problem to solve: Which process is included in the formation of both metamorphic and sedimentary rock?

Among the 4 following options, which is the correct answer?

- A: heating
 
- B: recrystallization
 
- C: compaction
 
- D: weathering
 