Earth's rotation and motion of the sun