The correct option is D Metamorphic
Based on formation, rocks are classified into three categories- Igneous, Sedimentary and Metamorphic. Igneous rocks are formed by the cooling and solidification of the molten material. Sedimentary rocks are formed by the compaction and hardening of bits of rocks and soil deposited in layers over millions of years. Metamorphic rocks are formed when igneous or sedimentary rocks undergo such intense heat and pressure that they completely change form and character.