That device is called an "orrery", a very strange word indeed. The word is derived from the name of Charles Boyle, 4th Earl of Orrery.
orrery
The Earth and other planets revolve around the Sun.
There are eight planets and five dwarf planets in our solar system.
Our solar system is the planets
There are 8 planets in the solar system
An orrery is a mechanical model of the solar system (or a part of the solar system) which displays the planets and some of the moons in their proper locations and orientations.
orrery
Gravity
The Sun's gravitational pull
One mechanical device used to remove airborne health hazards from the workplace is the exhaust ventilation fan, or exhaust system.
My opinion is that God decided that or just the movement of the planets and how they rotate around the sun.
It is an orrery.
The Earth and other planets revolve around the Sun.
A fuse or circuit breaker
Venus rotates on its axis the opposite direction that it orbits, the opposite of most planets in the solar system. (Note that Uranus rotates on its side.)
An "orrery" is a mechanical contraption, most no bigger than a desktop, that simulates the planets in their revolution around the sun. More complicated (and expensive) models also simulate the planets' rotation on their axes, and the revolution of some of the planets' satellites around their respective planets.
First of all, gravity causes the orbital movement in the first place - due to the attraction by the Sun, the planets go around the Sun in ellipses. Because planets also attract each other, the orbits may gradually change over time.