Granite is a coarse or medium-grained rock that is rich in quartz and feldspar. It is formed when bodies of magma cool and harden deep below the earth. What type of rock is granite?