The study of the chemical composition of the Earth and the processes that distribute and move its elements.