Here's a breakdown:
* Prograde rotation: The planet spins in the same direction it orbits the Sun (like Earth).
* Retrograde rotation: The planet spins in the opposite direction it orbits the Sun (like Venus and Uranus).
Mercury's retrograde rotation is thought to be a result of a giant impact early in its history. This impact could have tilted the planet's axis and reversed its spin direction.