The geological and chemical study of rocks is called?

Thermodynamics

Petrology

Taxonomy

Hematology