According to Smithsonian:
Goats are members of a diverse group of mammals called ungulates, which include barnyard favorites like cows, sheep, deer, and donkeys—all great additions at petting zoos but not known for winning any intelligence prizes in the animal kingdom. Actually, donkeys are an exception, according to an expert on the species.
Ungulates also include ultra-smart species such as dolphins, whales, and elephants, all of which are renowned for their keen memory and sophisticated social structures. So where do goats fall on this spectrum?
As it turns out, according to a new paper published in Frontiers in Zoology, goats have fewer commonalities with their dull farm counterparts and belong instead on the ungulate honor roll. These furry, hoofed eating machines appear more sheep- or mini-cow-like in their demeanor, but their IQs likely put even the most astute steer to shame, the researchers—real men and women who stare at goats—found.
Watch this video below see how smart they are ?