The study of the formation, composition, and dynamics of planets, including the conditions required for habitation.