The Nature of Cognition