The process of cognition