Also, philosophy has been dogged since Descartes with the self-imposed goal of providing a "foundation" for all knowledge enterprises (e.g. science, math) — by attempting to, put crudely, solve the mind-body problem and legitimatize that our thoughts and connection to the world are valid.