In the formation of metamorphic rocks, what effect do temperature and pressure primarily have?

A. They erode rocks.
B. They create layers.
C. They make rocks smaller.
D. They change existing minerals.

D. They change existing minerals.