The sun or the Earth?

We live in a heliocentric solar system like the one on the left. I don’t know what’s going on the geocentric thingy on the right.
That’s the point. In the olden days people used to think the Earth was the center of the universe. The problem with that theory is that the planets appear to move like the diagram on the right. Geocentric means Earth at the center.
We know now that we’re in a heliocentric solar system with the planets orbiting the sun. But since we view the other planets while we stand on the Earth the planets appear to be moving around us like the image on the right.