Question: how our solar system works?
Answer: The sun's gravity pulls the planet toward the sun, which changes the straight line of direction into a curve. This keeps the planet moving in an orbit around the sun. Because of the sun's gravitational pull, all the planets in our solar system orbit around it.