I was pondering this earlier today:
Religion, as you should know, was created to explain the unexplainable at the time; volcanoes, earthquakes, etc. But the world has gone through many different religions:
Catholic/Christian, Hebrew, Muslim, Buddhism, or Mormon
Now, these are mostly modern religions, still practiced and believed in today, some of the earlier ones were the Greeks and the Romans. As I said, all of these religions were attempts to explain the unexplainable.
Now with modern science, we are able to explain most of the things that religion was created for. Thus, today there is much more atheism, but that is not the point.
What I was pondering was the different religion levels in humanity. When we were a young species, we could barely explain what made the sky roar and the trees sway. So we created multiple gods to explain every little thing. Then we started getting more technologically advanced, able to explain more things, so religions reverted to a one god "theory" if you will. So as humanity progressed through the ages, and with the enlightment, you could argue that religion has formed or changed to fit the scientific establishment of the time. Such as, the Greeks believed one of their gods, Poseidon, or the Roman, Neptune, controlled the sea and earthquakes. But as a Catholic/Christian, do you believe that "God" controls those? Or do you accept scientific fact that the sea is controlled by the celestial bodies, the wind, and other Earthly features?
So, in summary, I believe as a "Non-Believer" or an "Atheist", that religions of all sorts are not technically related to science, but are, as I said, formed by it.