The study of the chemical composition and processes of the Earth, which provides insights into geological processes.