The study of the chemistry of soil, i.e. the loose materials that form the upper surface of the earth. A strong motivation for soil chemistry has always been to improve agriculture. Modern soil chemistry contributes strongly to environmental chemistry and green chemistry. Key aspects of the subject include the pH of soils and the study of clay.