Evolutionary Cognition of Religion

Is religious belief & behaviour an evolutionary adaptation? Or is it an incidental by-product of the development of certain cognitive functions of the brain that possibly had non-religious evolutionary purposes. This paper looks at existing research in the field of Evolutionary Psychology and Neuroscience to answer this question.