Specialization of geology that deals with the scientific classification of rocks, based on the material the rocks are composed of.