Here a commentary note on Genesis chapters 1-3 from The Didache Bible (which uses the CCC as the basis for its notes):
1-3 The story of creation presents eternal truths about God and humanity and about the nature and significance of creation. Creation takes on the powerful significance that man and woman are created in the image and likeness of God. Furthermore, through the violation of God’s law, the first human beings, Adam and Eve, brought sin into the world. Hence, Genesis marks the beginning of salvation history; a history that will be completed at the end of time as related in the final chapters of Revelation. While the Church looks at the literal sense and meaning of the creation story, i.e., the meaning conveyed by the words, it does not require a literalistic approach as if the purpose of God’s Revelation were to provide a scientific explanation of the universe, nor is it opposed to various scientific theories as long as the divine origin of creation and God’s plan and providence are not denied. Faith and science, in the Genesis story, complement each other, and there is ample room for modern scientific inquiry and explanation that is compatible with God being the ultimate cause of the created world. (CCC 121-123, 128-130, 199, 280, 289, 337-354; CSDC 451)