They are the same thing, as a year is the time taken for a celestial body to orbit a star. The Earth and the moon both take the same amount of time for that.