Answer:
Extrusive and intrusive igneous rocks are the two primary subcategories. Lava, which is magma that has surfaced from beneath the Earth, is what gives rise to extrusive rocks, and they can also be formed by oozing fissures. Meanwhile, Magma cools and solidifies inside the planet's crust, forming intrusive rocks, however because they are inside the earths crust and have solidified there, they are usally the type to penetrate exsisting rocks, inlike extrusive rocks, which form on their own.
Step-by-step explanation:
I hope this helps, I made this up as I went, with the information i do know. :)