Science is a subset of philosophy. Science is a somewhat agreed to belief in measurement. Scientists measure objects, energy fields, heat, a lot of stuff to which humanity has access through their senses. Scientists also deduce, with math, which is a big part of science. And they do what is called abductive reasoning, in other words hypothetical explanation: this morning the grass outside is very wet, therefore it must have rained last night.
Scientists can adhere to a variety of ideas and remain scientists. Some scientists are religious. Some might belong to a school of thought called dualism. How well a scientist has integrated his ideas philosophically is up to him, but whether they realize it or not they do take philosophical positions. And there are those scientists who identify themselves as adhering to the "philosophy of science." (Check out an encyclopedia.)