J. Anderson Thomson and Claire Aukofer in the Los Angeles Times:
In recent years scientists specializing in the mind have begun to unravel religion's “DNA.” They have produced robust theories, backed by empirical evidence (including “imaging” studies of the brain at work), that support the conclusion that it was humans who created God, not the other way around. And the better we understand the science, the closer we can come to “no heaven … no hell … and no religion too.”
Like our physiological DNA, the psychological mechanisms behind faith evolved over the eons through natural selection. They helped our ancestors work effectively in small groups and survive and reproduce, traits developed long before recorded history, from foundations deep in our mammalian, primate and African hunter-gatherer past.
For example, we are born with a powerful need for attachment, identified as long ago as the 1940s by psychiatrist John Bowlby and expanded on by psychologist Mary Ainsworth. Individual survival was enhanced by protectors, beginning with our mothers. Attachment is reinforced physiologically through brain chemistry, and we evolved and retain neural networks completely dedicated to it. We easily expand that inborn need for protectors to authority figures of any sort, including religious leaders and, more saliently, gods. God becomes a super parent, able to protect us and care for us even when our more corporeal support systems disappear, through death or distance.
Scientists have so far identified about 20 hard-wired, evolved “adaptations” as the building blocks of religion.