The author of Genesis is Moses.
The intended audience is Israel.
The purpose is to give the Israelites background understanding as they are being delivered from Egypt via the blood, water, and Spirit of the passover, Red Sea, and the pillar of cloud (acts 2:38).
And then taken to Sinai to receive the law of the covenant.
Genesis is back drop for Old Covenant.
In
Genesis 1:14 the Israelites are given the basis for the biblical calendar, The lights are placed in heavens to mark days, years, and times of the festivals such as passover.
And God created man, male and female, and gave them dominion over the earth.