Cognition
Cognition is "the mental action or process of acquiring knowledge and understanding through thought, experience, and the senses". It encompasses processes such as attention, the formation of knowledge, memory and working memory, judgment and evaluation, reasoning and "computation", problem solving and decision making, comprehension and production of language. Cognitive processes use existing knowledge and generate new knowledge.
Memory
Don't you remember, sweet Alice, Ben Bolt?
Sweet Alice, whose hair was so brown;
Who wept with delight when you gave her a smile,
And trembl'd with fear at your frown!
Thomas Dunn English, Ben Bolt.