1. Igneous rocks are formed by the cooling and solidification of lava from volcanic eruptions.
2. Metamorphic rocks are formed when these igneous rocks under the influence of heat and pressure undergo physical and chemical changes and form a denser rock.
3. Thus, the two rocks are formed by opposite effects. One by cooling and other by heating.