This is the study of the formation, composition, and alteration of rocks, including those found on other planets.