The processes of human or animal thought. The acquisition, understanding, representation and manipulation of knowledge.