The starting point of philosophy is the understanding of the world.
Later, some early western philosophers put forward that "everything has a number", that is, all colors, sounds, time and space can be represented by numbers or mathematics.
It is precisely because of this basic point that "science" was born in the west, so mathematics is not science.
On the contrary, mathematics is many, many years before science. Strictly speaking, the word "science" appeared clearly after Aristotle, a scholar, sorted and classified various disciplines.