Both the Earth and sun rotate around each other, as does the Earth in the Moon. Imagine a pole representing gravity that connects the center of the Earth to the center of the sun. Now choose a point on the pole that's really close to the center of the sun, say like 1 inch from the center of the sun, but not at the very end of the pole. If you spin the pole about that point, that's more or less how the Earth rotates about the Sun, but note that the Sun is moving every so slightly about the Earth as well.
Both the Earth and sun rotate around each other, as does the Earth in the Moon. Imagine a pole representing gravity that connects the center of the Earth to the center of the sun. Now choose a point on the pole that's really close to the center of the sun, say like 1 inch from the center of the sun, but not at the very end of the pole. If you spin the pole about that point, that's more or less how the Earth rotates about the Sun, but note that the Sun is moving every so slightly about the Earth as well.