A brain is a society of very small simple modules that cannot be said to be thinking that are not smart in themselves. But when you have a network of them together out of that arises a kind of smartness.
Smartness runs in my family. When I went to school I was so smart my teacher was in my class for five years.