Quartzite is a coarse-grained rock derived from sandstone. What type of rock is quartzite?

igneous

extrusive

metamorphic

sedimentary