In geology, what are the main classification for rocks?

There are three general classes of rocks: Igneous, Sedimentary, and Metamorphic.