Input (grade 10): Igneous rocks are formed when molten magma cools and are divided into two main categories: plutonic rock and volcanic.
Output (grade 6): Igneous rocks are formed when molten magma cools. They are divided into two main categories: plutonic rock and volcanic rock.