But they have quite different brains. The intelligence doesn’t seem to reside in the details of the mechanism
Studying animals’ intelligence has taught us many things. But in some ways, it has deepened the mystery of intelligence.
We might have thought that intelligence, in terms of individual learning ability, would gradually increase among animals, from invertebrates to vertebrates, from exothermic (cold-blooded) animals to endothermic (warm-blooded) animals, from reptiles to primates, culminating in man. In that case, intelligence would be associated with the increasingly complex brain structures that enable it.
Research has demonstrated the opposite. “Crows Can Be as Smart as Apes” at Mind Matters
See also: Even Lizards Can Be Smart If you catch them at the right time. But can we give machines what the lizard has by nature?
and
Is the octopus a “second genesis” of intelligence?