The Earth revolves around its axis, this rotating movement is called rotation, lasts 23 hours with 56 minutes and 4 seconds and is called sidereal day.
The Earth also revolves around the sun, this movement is called revolution or translation, this movement of translation is done every 365 days and 6 hours approximately, a year.