The pattern of waking during the day when it is light and sleeping at night when it is dark is a natural part of human life. Only recently have scientists begun to understand the alternating cycle of sleep and waking, and how it is related to daylight and darkness.
A key factor in how human sleep is regulated is exposure to light or to darkness. Exposure to light stimulates a nerve pathway from the retina in the eye to an area in the brain called the hypothalamus. There, a special center called the suprachiasmatic nucleus (SCN) initiates signals to other parts of the brain that control hormones, body temperature and other functions that play a role in making us feel sleepy or wide awake.
The SCN works like a clock that sets off a regulated pattern of activities that affect the entire body. Once exposed to the first light each day, the clock in the SCN begins performing functions like raising body temperature and releasing stimulating hormones like cortisol. The SCN also delays the release of other hormones like melatonin, which is associated with sleep onset, until many hours later when darkness arrives.
Melatonin is a natural hormone made by your body's pineal (pih-knee-uhl) gland. This is a pea-sized gland located just above the middle of the brain. During the day the pineal is inactive. When the sun goes down and darkness occurs, the pineal is "turned on" by the SCN and begins to actively produce melatonin, which is released into the blood. Usually, this occurs around 9 pm. As a result, melatonin levels in the blood rise sharply and you begin to feel less alert. Sleep becomes more inviting. Melatonin levels in the blood stay elevated for about 12 hours - all through the night - before the light of a new day when they fall back to low daytime levels by about 9 am. Daytime levels of melatonin are barely detectable.
Besides adjusting the timing of the clock, bright light has another effect. It directly inhibits the release of melatonin.