The sun and the celestial bodies that revolve around it forms the solar system. It consists of sun, planets, satellites, asteroids, comets, meteors and meteorites. Halley's comet and the moon are two examples of celestial bodies that are part of the solar system but not planets.