Igneous rock is rock that has formed from cooling magma or lava. An igneous rock body that intrudes and bakes an existing sequence of rocks is younger than the rock it invades. Other type of rocks are sedimentary rocks. Those are rocks that form on Earth's surface mostly from loose sediment that is deposited by moving water, air, or ice.