Jupiter has an immense gravitational pull. Acting as a guardian to the inner planets by either pulling in huge comets and asteroids, or effecting their trajectory enough so they fling out of the solar system.