which type of rock forms from magma?
When magma crystallises and solidifies it forms a type of rock called igneous rock, which doesn't have the layered structure of sedimentary rocks, and is full of gas bubbles from evaporated substances caught in the magma, unlike metamorphic or sedimentary rocks.