The study of the chemical composition and behavior of Earth's systems, including volcanic processes and volcanic rocks.