The Sun doesn't spin, the earth is in constant rotation around the sun because of the force of gravity acting upon it.
add actually the Sun does spin - about 25 days for a rotation at its equator. That is a speed of about 7000 km/h.
(compared with the earth's equatorial speed of about 1500 km/h.)
But as above, gravity is the controlling force.
The moon spins around the earth once a month. The earth spins around the sun once a year and the earth spins on it axis once a day giving rise to night and day. So in answer to your question the earth spins around the sun and the moon spins around the earth.
The Earth neither spins round the Sun nor the Moon. The Earth rotates(spins) on it own axis, top give us night and day. The Moon revolves (orbits) round the Earth once a month (Moonth). The Earth and Moon, as a binary system revolve (orbit) round the Sun once a year. The Moon making 13 orbits of the Earth in once a year.
The Earth orbits the sun. While it orbits, the Earth spins on its axis. When the Earth spins, some part is always facing the sun, but some is not. This constant spinning creates day and night.
The Moon orbits the Earth. The Earth orbits around The Sun. The Earth revolves (spins) around it's own axis.
Cause earth orbits the sun and spins on an axis
To circle around. Planet Earth orbits the sun.
The Earth spins on its axis in the counter clockwise direction, when viewed from above the North Pole.
In addition to rotating on its axis (spinning), our earth also revolves around the sun (orbits).
The Earth orbits the Sun once every 365.25 days. The Earth spins on its axis once in 24 hours.
The Earth spins like a top around its own axis. The Earth orbits the Sun. The Sun has its own proper motion through the Milky Way galaxy, and orbits the center of the galaxy every 220 million years or so. The Milky Way galaxy itself is moving, but because we don't have any fixed point of reference in the universe, we don't know in what direction.
Moon also revolve. Earth revolve round the sun and moon revolve round the earth.
Galileo first proposed his theory that the Earth spins and orbits the Sun in the early 17th century, around the early 1600s. This theory was a key component of his broader support for the heliocentric model of the solar system.