The sleep-wake cycle is a complex biological process that regulates the periods of sleep and wakefulness in an organism. It is governed by a combination of external factors such as light and internal mechanisms including various molecular and cellular processes.