When we look at the two stories of creation in Genesis (yes, there are two… look them up), we read not a literal story but a mythological one, in the best sense of that term. The point of the story is that God cares for creation and human beings have a primary place as a special creation of God.
The Church would take a humble position before God in stating that we do not know all things. Only God knows the origins and the hidden secrets of the universe. Therefore, should we discover life on other planets, we would believe that God was the creator of those beings. Our belief in God can in fact, deepen our experience of scientific discovery.
In Providentissimus Deus (On the Study of Holy Scripture) Pope Leo XIII stated emphatically that the writers of sacred scripture did not intend to teach people the nature of the visible universe.
Busted Halo® created a video related to this subject (mostly about evolution, but the subject of religion’s integration with science is also central to the theme) that you can watch here.
from Mike Hayes and the Busted Halo Question Box