"Cognition" is a term for a wide swath of mental functions that relate to knowledge and information processing.