Actually Welcome to the Concept of the Astrophysics.
Let's categorize them eventually ==>
1.) Earth ==> 1.) travels around the Sun
2.) takes 365.25 days .
2.) Moon ===> 1.) travels around the Earth
2.) Takes 27.3 days.
8.8m questions
11.4m answers