Hebrew typography fun time. This poster quotes a blessing that begins the morning prayer service:
בָּרוּךְ אַתָּה ה׳ אֱלֹקֵינוּ מֶלֶךְ הָעוֹלָם. אֲשֶׁר נָתַן לַשֶּׂכְויִ בִינָה לְהַבְחִין בֵּין יוֹם וּבֵין לָילְָה.
One translation of this blessing reads: “Blessed are you Lord our God, King of the universe, who gave the rooster understanding to distinguish between day and night.”
An explanation (and there are many) is that God created all creatures with certain abilities that collectively enable the world to function as it should.