Geologist is the one who studies Earth's structure.
They study Earth's interior for them and us to know the origin, factors, causes, components, and other stuff of a particular thing.
Example:
There's volcano because of the force coming from the rising action of hot fluid (ex: magma) from the underground layer of Earth.