Before the modern age, the term philosophy was used in a wide sense.
It included most forms of rational inquiry, such as the individual sciences, as its subdisciplines.
For instance, natural philosophy was a major branch of philosophy.
This branch of philosophy encompassed a wide range of fields, including disciplines like physics, chemistry, and biology.
An example of this usage is the 1687 book Philosophiæ Naturalis Principia Mathematica by Isaac Newton.
This book referred to natural philosophy in its title, but it is today considered a book of physics.