Answer:
The gravity helps the planets stay together near the Sun, without it Earth would be floating away with the planet eventually becoming frozen up, thus the role gravity have in the motion of planets around the sun is by keeping them together.
Step-by-step explanation:
Hope this helps!