Science is a philosophy, thus fits within the larger field of philosophy in general. The philosophy of science is the basis of the method, it's application, and how we go about interpreting data. To see this basic point, just look at the highest degree one can acheive in most academic fields, and all the sciences: a PhD, or "Doctor of Philosophy."
Religion, at best, offers hypotheses about the world that we can test.