The phrase
"animal spirits" refers to the emotional and psychological factors that drive economic behaviors, like optimism, confidence, and fear. It suggests that human decisions in the economy are not solely based on rational calculations, but are also influenced by our emotions and instincts, just like how animals act on their impulses.
Full definition