Much of that evidence comes from experiments carried out on children, who are seen as revealing a "default state" of the mind that persists, albeit in modified form, into adulthood. Children the world over have a strong natural receptivity to believing in gods because of the way their minds work, and this early developing receptivity continues to anchor our intuitive thinking throughout life.
So how does the brain conjure up gods? One of the key factors is the fact that our brains have separate cognitive systems for dealing with living things — things with minds, or at least volition — and inanimate objects.
Link to Original Source