The study of the Earth's surface, structure, and processes, as well as the geology of other planets and moons.