The motion of the Sun with the stars was used to make calendars to keep track of agricultural practices . The motion of the Sun against the background stars ( and the horizon ) was used to create calendars , which could be used to regulate agricultural practices .