The production of melatonin is controlled by a part of the brain called the suprachiasmatic nucleus (SCN) and its timing fine-tuned by our exposure to light during the morning.