The study of the Earth's structure, composition, and history, including the study of rocks, minerals, and fossils.