Why are there religions?

There are religions because people had traditions and beliefs that eventually became formalized. Religion was created as a social compact between man and the universe. They created a God that would bring psychological comfort in times of hardship. They created a God that would protect them from natural disasters, disease and extinction.