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
Jupiter trojan Jupiter trojans formed in the same part of the Solar System as Jupiter and entered their orbits while it was forming. The last stage of Jupiter's formation involved runaway growth of its mass through the accretion of large amounts of hydrogen and helium from the protoplanetary disk; during this growth, which lasted for only about 10,000 years, the mass of Jupiter increased by a factor of ten. The planetesimals that had approximately the same orbits as Jupiter were caught by the increased gravity of the planet. The capture mechanism was very efficient—about 50% of all remaining planetesimals were trapped. This