Granite is produced in volcanic arcs, and more commonly in mountain building resulting from the collision of two continental masses. The earliest continental masses were products of the accumulation of volcanic arcs, and this is why granite lies in the cores of all of the continents. Granite is the plutonic equivalent of rhyolite.