The movement of the earth on its axis is known as rotation. the movement of the earth around the sun is known as revolution.
Yasoswini answered this
Rotation is how an object spins on its axis, like a planet, or a baseball or tennis ball with spin on it. Revolution is how an object revolves around another object, like the Earth around the Sun or a tether ball around the pole.