Igneous rocks form when magma cools and forms crystals. These rocks can form at Earth’s surface or deep underground. Figure below shows a landscape in California’s Sierra Nevada that consists entirely of granite.
The Sierra Nevada of California are composed mainly of granite. These rocks are beautifully exposed in the Yosemite Valley.