Science is based on philosophy, therefore, philosophy is essential in determining truth and knowledge. People often claim that all that is needed is science.
The scientific method of science is a philosophical construct, using epistemology to determine the nature of truth and knowledge, and how to prove things.
Other aspects of reality (or of claimed reality) fall under the category of religion and spirituality; but these should be evaluated via philosophy. Usually, these are considered as revealed knowledge from God. But revealed religions and revealed spiritual paths are untrustworthy sources of truth and knowledge: they require philosophical evidence to back them up. (And also, they should not contradict science.)
You do realise that there are hundreds, if not thousands, of different schools of philosophies, and the majority of these schools are not even remotely “scientific”?
The only philosophy that has a long history of studying nature is Natural Philosophy, which was started by the Ancient Greek philosophers, with a primitive form of observation and experiment-type evidence gathering.
Natural Philosophy continued to be used after Antiquities, and as Augustus pointed out right up to the 19th century, where “science” moved away from philosophy to what we now call today as Natural Science.
Natural Science includes Life Science and Physical Science.
Natural science has moved away from metaphysics just as moved away from theology in this century.
The Age of Enlightenment saw secular movement where the separation of State and Religion in Europe during the 18th century, but it was slower to catch on in the areas of education, which still saw theology still interfering with education, including science, which then still known as Natural Philosophy.
It was the 19th century, especially by one biologist by the name of Thomas Henry Huxley, a friend of Charles Darwin, who successfully reformed universities across Britain, to separate science and religion. Huxley’s achievement had the effect that saw increasing divide between science and philosophy.
Just because science was based on Natural Philosophy, doesn’t mean that all other philosophies are valid in science.