A petrologist is a geologist who specializes in studying the origin, composition, and structure of rocks. They analyze rocks to understand how they form and what geological processes they have undergone. Petrologists play a key role in fields such as mining, geothermal energy, and natural resource exploration.