the Moon's gravity the Sun's gravity magnetism rotation
I gave my students this multiple choice question: Which of the following allows the planets to stay in orbit?

Only one answer is correct among these 4 choices:
- the Moon's gravity
- the Sun's gravity
- magnetism
- rotation

Could you tell me which one is correct?

the Sun's gravity