All organisms, from mammals to fungi, have daily cycles controlled by a tightly regulated internal clock, called the circadian clock. The whole-body circadian clock, influenced by the exposure to light, dictates the wake-sleep cycle. At the cellular level, the clock is controlled by a complex network of genes and proteins that switch each other on and off based on cues from their environment.