The study of rocks, usually by microscopic and spectrographic analysis. Because most rocks are composed of minerals, petrology is strongly dependent on mineralogy. Fields of specialization in petrology correspond to the aforementioned three major rock types - igneous, sedimentary, and metamorphic.