How are minerals formed in igneous and metamorphic rocks?


Minerals occur in igneous and metamorphic rocks, which causes the rocks to become heated and under great pressure
They do not melt, but the minerals they contain undergo chemical changes, resulting in metamorphic rocks.
When the rocks are entirely near to the principal type of magma, metamorphic rocks can occur.
It heats up without posing any danger or inconvenience.

Final Answer : When molten lava cools and hardens, igneous rocks form. When particles settle out of any erosional agent, such as water and air, and minerals precipitate, sedimentary rocks emerge. Metamorphic rocks are created when existing rocks are subjected to extreme pressure and heat.