oscillation of melatonin

For the animal, the oscillating levels of melatonin would serve to determine with great precision both the time of day (the melatonin clock) and the season of the year (the melatonin calendar), allowing it to make the physiological and behavioral changes needed to anticipate with advantage the dramatic fluctuations in the environment.