In The Descent of Man Darwin writes,
Man and the higher animals … have … instincts in common. All have the same senses, intuition, sensation, passions, affections and emotions, even the more complex ones such as jealously, suspicion, emulation, gratitude and magnanimity; they practice deceit and are revengeful; they are sometimes susceptible to ridicule, and even have a sense of humor; they feel wonder and curiosity; they possess the same faculties of imitation, attention, deliberation, choice, memory, imagination, the association of ideas, and reason … though in very different degrees.