Cognition refers to the mental processes involved in gaining knowledge and comprehension. Cognitive actions include thinking, knowing, remembering, judging, and problem-solving. These are higher-level functions of the brain and include language, imagination, perception, and planning.