Our solar system consists of 8 planets that orbit the Sun in elliptical orbits. The planets can be divided into two categories: terrestrial and Jovian. Terrestrial planets like Earth are small and rocky, while Jovian planets like Jupiter are huge gas giants. Differences between the planets include size, density, chemical composition, and rotation rates. The interiors of planets contain gases, rocks, and ice. Thicker atmospheres are found on the Jovian planets. According to the nebular theory, the Sun and planets formed from a rotating disk of dust and gases that condensed and collided to form planetesimals and planets.