Why are mammals smarter than other animals?

Mammals have a highly developed nervous system. Their developed brain makes them smarter than other animals.