Cognitive function is how well our brain performs certain mental activities. It looks at areas like memory, attention, understanding, reasoning, problem-solving, and decision-making.