Intrusive igneous rocks are formed by the cooling of molten magma deep inside the earth's surface. These rocks have karge grains as they cool down slowly. e.g. Granite.
Extrusive igneous rocks are formed by cooling of the lave on the surface of the earth. These rocks have fine grains. e.g. Basalt.