In our Solar System, astronomers often divide the planets into two groups — the inner planets and the outer planets. The inner planets are closer to the Sun and are smaller and rockier. The outer planets are further away, larger and made up mostly of gas.