Organized religion traces its roots to the neolithic revolution that began 11,000 years ago in the Near East but may have occurred independently in several other locations around the world. The invention of agriculture transformed many human societies from a hunter-gatherer lifestyle to a sedentary lifestyle.