Planets help to stabilize the solar system. Each planet was created by God with a specific size, gravity, rotation rate, magnetism, chemical makeup, and axis tilt.
Gravity is the mysterious force that acts through great distances of empty space. The gravitational attraction between the Earth, the sun, and the other planets is continually adjusted as the locations change in their orbits so that they do not plummet into one another!
Planets were created by God to keep Earth to maintain a stable and safe orbit!
(Source: Jonathan Henry – The Anatomy Book 1999 pp.37)