Light is detected by photoreceptors in the eye, which sends message about the level of brightness to the SCN. The SCN then uses this information to coordinate the activity of the entire circadian system.
For example, it regulates the release of melatonin by alerting the pineal gland, which induces feelings of sleepiness.
Changes in light exposure can trigger the desynchronisation of a 'pre-set' sleep-wake cycle.