Answer:
It forms from sandstone that has come into contact with deeply buried magmas. Quartzite looks similar to its parent rock. The best way to tell quartzite from sandstone is to break the rocks. Sandstone will shatter into many individual grains of sand while quartzite will break across the grains.