Solar System their mass, orbit, and distance from the Sun, with a possibly significant contribution from comets. The Sun, which comprises nearly all the matter in the Solar System, is composed of roughly 98% hydrogen and helium. Jupiter and Saturn, which comprise nearly all the remaining matter, are also primarily composed of hydrogen and helium. A composition gradient exists in the Solar System, created by heat and light pressure from the Sun; those objects closer to the Sun, which are more affected by heat and light pressure, are composed of elements with high melting points. Objects farther from the Sun are composed
Stability of the Solar System essentially the distance from sun to earth). These are now known as the Kirkwood gaps. Some asteroids were later discovered to orbit in these gaps, but their orbits are unstable and they will eventually break out of the resonance due to close encounters with a major planet. Another common form of resonance in the Solar System is spin–orbit resonance, where the period of spin (the time it takes the planet or moon to rotate once about its axis) has a simple numerical relationship with its orbital period. An example is our own Moon, which is in a 1:1 spin–orbit resonance