Sleep in animals

Sleep is broadly considered a biological necessity in virtually all animals. The large majority of such taxa with documented sleep physiology are bilaterians, though there is increasing evidence of sleep or sleep-like states in non-bilaterians such as Cassiopea jellyfish and hydra (both cnidarians), and sponges. The various criteria which biologists use to define sleep states have been observed in all other animal phyla, often with profound variation in function. In all of these taxa except sponges, regulation of sleep is documented to involve genes whose transcription oscillates with time, known as circadian or clock genes. These genes and the gene networks they regulate give rise to the internal circadian clock. The three categories of biological sleep schedules are diurnal, noctural, and crepuscular which characterize species whose waking periods mostly overlap with day, night, and twilight respectively. Specific sleep patterns and durations vary widely among and sometimes within sleeping species, with some sleeping or foregoing sleep for extended periods. Others, such as some porpoises, engaging in unihemispheric sleep where only one brain hemisphere sleeps at a time in order to maintain motion or homeostasis in marine environments.

The presence of some version of sleep physiology is nearly universally conserved within animals, suggesting a very ancient evolutionary origin. Chronobiological mechanisms more broadly (i.e. non-sleep biological processes which oscillate at various periods) are documented among many microbes and thus are likely much older, reflecting the day-night cycle as perhaps one of the earliest environmental stimuli used for the regulation of genes. This has led some evolutionary biologists to suggest that time-based oscillations in activity are a possible form of ancient, time-based niche partitioning to minimize competition during the same portions of the day.