The study of the earth's structure and processes, including the formation and movement of rocks and minerals.