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