The earth rotates on its own axis once every 24 hours. That isn’t rotating around the Sun.
If I am a hundred yards from you and I see you spin in a circle, you didn’t just rotate around me.
Yes, the Earth is completing a full rotation around the Sun every 24 hours. It’s orbital translation occurs in approximately 365 rotations.