Cognition in learning and memory