Vori: "I think phylosophy was, after religion, another unsucessfull atempt to understand nature."
I think both religion and philosophy were key ingredients in the looooong chain of events that put science where it is today.
I also think that the distinction is valid only on paper. Something is never just science, religion or philosophy. Except whey they are on paper. Before that, in the process of forming the ideas, a scientist will, by virtue of being a normal human being, have issues to relate to that fall under all categories. His inspiration to create great scientific works may be well founded in religious belief.
Einstein wasn't a great scientist because he was good at math. In fact, he wasn't very good, compared to lesser scientific minds of his time, at least not around the time his first ideas on relativity started to grow in his mind. What he did have was the power to envision. Imagination, creativity and intuition are important ingredients of scientific discovery. Of any discovery.
If any scientist denies this, ask him if he has ever discovered something