Any rock that forms from lava or magma is a type of igneous rock. The word Ignis formed from the Latin word that means "fire".
What a rock is
A rock is a solid mixture of minerals and other materials.
it's igneous rocks that formed from lava that erupted onto earth's surface. They have a fine grain or glassy texture. It forms Basalt and Rhyolite.
it's igneous rocks that formed when magma hardened beneath earth's surface. They have larger crystals than extrusive rocks. It forms granite, pegmatite,porphyry. They are also used for building material.