The document describes two types of planets: terrestrial planets like Earth which are close to the sun with small diameters and masses but high densities, and Jovian planets like Jupiter which are farther from the sun with large diameters and masses but low densities.