It is often taught in a way that tries to exclude imagination and emotion. The task of both science and religion is to explain how things work and why we are here. Conflict exists between the two. . . Accepting religion entails accepting a certain sense of mystery. Science is the study of nature and life.
Religion is the way to live life with nature.
Now, most people accept it as a random process, rather than part of an overall design. The idea of teleology was pushed out by Darwinianism, as natural selection has no specific direction or goal. If humans are the result of random processes, this raises a question of purpose. Incorporating the supernatural in science is usually discouraged, for fear it might stop progress.