According to the original meaning of science, science is rationality. Philosophy is highly rational, and of course it is also science. 
in the history of philosophy, it has played an inclusive role of scientific science for a long time. It was not until the birth of Marxist philosophy that it correctly handled the relationship between science and philosophy. However, in ancient universities, the doctor of philosophy is the real doctor of science.
Science has always been a branch of philosophy.