What type of igneous rock is formed when magma hardens beneath Earth’s surface?


sedimentary rock

metamorphic rock

intrusive rock