which rock type is formed from magma or lava? metamorphic igneous sedimentary

which rock type is formed from magma or lava? metamorphic igneous sedimentary
Answer
Brief Explanations:
Igneous rocks are formed from the cooling and solidification of magma (below the Earth's surface) or lava (on the Earth's surface). Metamorphic rocks are formed from pre - existing rocks that are changed by heat, pressure, and chemical processes. Sedimentary rocks are formed from the accumulation and compaction of sediments.
Answer:
Igneous