How Igneous rocks are formed?

Igneous rocks are called fire rocks because an igneous rock is formed when a volcano erupts and magma reaches the surface and cools. It can also be formed  when magma gets trapped in small pockets underground and when the pockets cool an igneous rock is formed.