Nocturnality is an animal behavior characterized by being active during the night and sleeping during the day. The opposite is diurnality. The intermediate crepuscular schedule (twilight activity) is also common. Some species are active both in daytime and at night. Living at night can be seen as a form of niche differentiation, where a species' niche is partitioned not by resources but by time itself, i.e. temporal division of the ecological niche. It can also be viewed as a form of crypsis, in other words an adaptation to avoid or enhance predation. There are other reasons for nocturnality as well, such as keeping out of the heat of the day. This is especially true in deserts, where many animals' nocturnal behavior prevents them from losing precious water during the hot, dry daytime. This is an adaptation that enhances osmoregulation.
Many species which are otherwise diurnal exhibit some nocturnal behaviour; for example, many seabirds and sea turtles attend breeding sites or colonies nocturnally to reduce the risk of predation (to themselves or their offspring) but are otherwise diurnal.
Nocturnal animals generally have highly developed senses of hearing and smell, and specially adapted eyesight. In zoos, nocturnal animals are usually kept in special night-illumination enclosures to reverse their normal sleep-wake cycle and to keep them active during the hours when visitors will be attempting to see them.
Redirecting to Nocturnality
Scientists sometimes use the word crepuscular to describe nocturnal animals that are not active when it is very dark at night; they are mostly active near dawn, dusk, and sometimes when the moon makes a lot of light.