Rocks provide most of our material needs, much of our power, and most of our national and state wealth. The study of rocks is called petrology and forms part of the science of geology. Rocks are classified according to their origin. The main classes of rocks are: Igneous rocks which crystallise or solidify from a .