Intrusive Igneous Rocks: They are formed when magma gets trapped within preexisting surrounding rock spaces within the Earth, cools, and consolidates. Some of their different types, which are categorized according to their size, shape, and mode of formation are: dikes, sills, laccoliths, stocks, batholiths, etc.