Science came from Christianity. If one studies the history of science one will find that to be true. Originally knowledge was organized as types of philosophy. That's why when you earn a degree you get a PHD. You are awarded a doctorate of philosophy. Religion would be one of the branches of philosophy. So one might earn a doctorate of the philosophy of Biology or a doctorate in the philosophy of theology. Science is a set of tools not an alternative to religion or a philosophy onto it self.
Straight from Wikipedia: ""Religion is an organized collection of beliefs, cultural systems, and world views that relate humanity to an order of existence""
That is in no way inconsistent with science!
""Science is a systematic enterprise that builds and organizes knowledge in the form of testable explanations and predictions about the universe""
Compare the two. One is indeed based on observation, and the other on beliefs. But if your beliefs are based on observation.....
It is impossible to test the accuracy of prayer. There is no way to conduct an observational study or experiment on any religious teachings or "communication" with gods. Superstitions can never be proven to be accurate. There are too many religions to chose from that all claim to be the one true religion. Religious scripture attempts to pose as quality scientific fact (ex. Creationism or its poorly disguised equal intelligent design) and only corrupts the education system. Science is based on completely testable and provable experimental findings and religion can never fall into this category because it was designed to avoid being questioned. When science and religion try to combine, they clash and cause controversy because of the unscientific nature of religion. Science isn't a choice to believe in like religion is, no matter how hard fundamentalists try to say otherwise. Science has enormous amounts of research and observational evidence to back up its claims, where religion only has some ancient books that were written by uneducated goat-herders. Religion belongs in the category of philosophy and mysticism and should never be considered to be an alternative or partner to science. It would be like a chemistry teacher devoting a unit to transmuting elements with an arcane alchemy table. It would be bad science and would only mess with the childrens' heads. Religion belongs in places of worship and science belongs in research centers and schools. They are incompatible and can not reasonably work together.
When a scientific-minded person encounters a questionable idea, their first instinct is to check whether it is correct or not. This can be done through research and experimentation. Miracles and magic can not be proven or disproven through experimentation or observation, and therefore are incompatible with science. Holy books often contain ancient and outdated beliefs that can be explained with modern science. A true scientific thinker and logical reasoner cannot fully accept both science and religion. Tolerance can definitely exist, but there will always be controversy and conflict when people try to suggest that unprovable, unverifiable "magic miracles" are scientific facts and that scientific theories can be formed from religious teachings.
There is no religion on Star Trek so that proves it will die out in the future as humans explore space, religion will be replaced by decent American values and interesting story-lines like travelling back through time to get some whales so they can talk to an alien probe. Whales are not religious either by the way.