How is Igneous Rock Formed?

Igneous rock is formed when magma becomes solid after cooling. It is one of the three main types of rock. The other two types of rock are sedimentary and metamorphic.