I got to thinking that liberal religion provides a good foundation to accepting science. By "liberal," I mean the accepting that our understanding of truths can evolve. The realization that each of our understandings of truth isn't necessarily cast in stone.
Science provides a pretty good approximation of truth that works enough to get us through the day. It's practical. It provides our technologies, modern medicine and so forth. At the same time, these ideas are subject to revision and improvement.
Liberal religion is okay with an evolving understanding. Okay with change that can come from learning.
Religion isn't necessary for science, but I think a willingness to learn and change is pretty much necessary for science.
Religion, while not necessary, still provides hope for things that science has not yet provided convincing evidence for.
A sense of life being more than just a short trip to a dead end. A sense of meaning and purpose in the universe. The idea that something one thinks of as "good" will ultimately prevail.
There is also a lot of community connection that some people get from religion as well.