Answer: It is produced in the presence of sympathetic noradrenergic stimulation synchronized to the ambient lighting cycle.
Step-by-step explanation:
Melatonin (N-acetyl-5-methoxy tryptamine) is an indolaminergic hormone (PM = 232.3) synthesized from tryptophan and derived from serotonin after two enzyme transformations that acetylate and replace the hydroxyl group with methoxy. Melatonin is produced by the pineal gland in the presence of sympathetic noradrenergic stimulation, through postganglionic innervation originated in the upper cervical ganglion. Unlike the hormones dependent on the hypothalamus-pituitary axis, melatonin production is not subject to feedback mechanisms and, therefore, their plasma concentration does not regulate their production.
On the other hand, an essential functional feature of this system is that it is strictly controlled by the circadian rhythm system which means, that daily melatonin production obeys precisely a circadian rhythmic production synchronized to the ambient lighting cycle, characteristic of day and night. Moreover, this daily rhythmic production is such, that in any considered species, the peak of production occurs at night.