Igneous rocks are formed from lava or magma. Magma is molten rockthat is underground and lava is molten rock that erupts out on the surface. The two main types of igneous rocks are plutonic rocks and volcanic rocks. Plutonic rocks are formed when magma cools and solidifies underground