Early universities taught this as philosophy and later as science. As the industrial revolution began they had to start teaching new parts of these sciences to keep up with the demand for new resources. 