Our earth and planets are moving around the sun. That is why the period of one year is known, namely the time it takes for the earth to circle the sun in full revolution. How the motion of the earth and other planets around the sun is discussed in Kepler's Law
Before we learn about general gravitational theory, we will first learn about about Kepler's Law
Observe this animation below
Please observe the animation:
What is your conclusion ?