The planet that revolves around the sun while rotating on its side is Uranus.
Uranus' axis of rotation is tilted at a whopping 98 degrees, which means it essentially spins on its side. This unique tilt is thought to be the result of a massive collision with another celestial body early in the solar system's history.