This thread started out in a way that precludes getting good answers.
There are simple single cell marine organisms like dinoflagellates, tenefors, and many other simple terrestrial beasties that are diurnal, nocturnal, or crepuscular (twilight). They are adapted to be busy feeding (or whatever) during the time of day when they have best chance of success. And not get eaten, for example. At other times of the day/night cycle they go deep into the sea, or hide out on the bottom. Out of harm's way.
The early organisms set the useful trait into action: responding to various natural cycles is very adaptive.
You cannot use human biology as an example of all of the daily, lunar, and seasonal cycles that plants and animals display. Humans have some few of these traits but not all. We evolved long after these cycles had worked just fine for trillions of organisms over eons. We still respond to them today.
For example: Human vision works best in the day. We have genes to set our daily clocks.
Humans originally found shelter during the night and slept to avoid becoming lion chow. Sleeping is a good way to do some routine biochemical chores, if you sleep in safe place. It also keeps us out of trouble. Because on moonless nights our eyes are no match for large nocturnal predators night vision. So wandering around blindly at night is not adaptive and is strongly selected against. An electrified world has messed this up somewhat. There are diseases related to day/night cycle disruption - NIH has of papers on the subject of what psychiatrists call 'Diurnal rhythms'.
This is a huge subject. Circadian (daily) rhythms are one part of it. This link is meant for non-biologists:
Try:
https://www.nigms.nih.gov/education/fact-sheets/Pages/circadian-rhythms.aspx
Photoperiodism (day length), another cycle type, is tied to seasonal day length.
https://en.wikipedia.org/wiki/Photoperiodism -- Common in animal and plant species.
There are others, example -- lunar cycles or tidal cycles.