Elizabeth collects different types of rocks whenever she goes on vacation. She has rocks that contain shiny crystals, grainy rocks, and rocks that are smooth. These rocks are formed? by different processes. Which of the following is NOT a process by which rocks are formed?
A. freezing of sediments.
B. compaction of sediments.
C. heat and pressure within the Earth
D. cooling of magma at Earth's surface​