The Cognitive Basis of Science