Which statement is true about the formation of a metamorphic rock?

A. Heat and pressure often makes rocks more compact, but the minerals composition must stay the same.
B. Heat and pressure often make rocks more compact, and the mineral composition can also change.
C. Heat and pressure often make rocks less compact, and the mineral composition can also change.
D. Heat and pressure often make rocks less compact, but the mineral composition must stay the same.

B. Heat and pressure often make rocks more compact, and the mineral composition can also change.