How Igneous Rocks are Formed?

Igneous rocks are formed when molten materials in the form of lava above the Earth’s surface or magma below the Earth’s surface cool and harden. Two common examples of igneous rocks are basalt and granite.