A galaxy contains stars, dust, gas and other celestial bodies bound by gravity. Our galaxy is the Milky Way, which contains the Solar System within it. The Solar System includes the Sun and objects that orbit it, like eight planets. The planets can be divided into inner planets like Earth that are rocky, and outer planets like Jupiter that are gas giants.