rocks are important because they help scientists understand how global climate change is affecting the planet. Granite and basalt may be the most important types of rocks in the Earth's crust. They are both igneous rocks, which means they form from cooling magma.