On planet Earth, each rotation takes one earth day. The path that each planet takes is an orbit. Moons are smaller bodies that revolve around planets. Earth has one mone, and other planets may have no moons or many moons. Any body that revolves around another body is called a satellite.
All bodies have attraction for one another, which is called gravitation.
The tendency for smaller bodies to be attracted to a larger body, such as you to the earth, is called gravity. It rotates around the sun. It revolves around a moon. It has a moon. It both rotates and revolves.