Geochemistry studies the chemical composition and properties of rocks. It examines the distribution and behavior of chemical elements within the Earth's crust. The periodic table evolved over time as scientists like Döbereiner grouped elements into triads based on their atomic weights, and Mendeleev arranged the known elements into the first periodic table based on recurring trends in their properties. This allowed prediction of properties of yet-to-be discovered elements and established atomic weight as the basis for organization until Moseley showed atomic number provided an even more systematic relationship.