The Stone-Weierstrass theorem tell us that:

If is continuous on the interval , then for every there exists a polynomial such that .

In other terms, every continuous function can be approximated by some polynomial with a certain level of accuracy. This is why in ML polynomial are used so much.