Is a sense of humor a byproduct, an accident, or was it installed on purpose? For better health? There definitely seems to be a purpose.
Marvelously free of racist prejudice, Wallace noted in his fieldwork in far-flung locations that primitive tribes were intellectually the equals of Europeans.
Richard Dawkins predicted that “a large fraction” of our genomes has no function, because, “The true ‘purpose’ of DNA is to survive, no more and no less.”
As for the “God of the gaps” charge, the basic objection is that ID is an argument from ignorance, based upon what we don’t know.
This little machine, which also knows how to recycle and reuse all its parts in a sustainable “green” way, keeps the nitrogen in balance for the whole planet.