Planets can be broadly classified into terrestrial (rocky) planets and Jovian (gas giant) planets. Terrestrial planets (like Earth and Venus) are generally much denser than gas giants (like Jupiter and Saturn) because they are primarily composed of rock and metal, while gas giants are mostly hydrogen and helium.