Why did early civilizations develop religions?

People have always believed in religion, as far back as can be traced. No natural society ever existed that did not have spiritual beliefs. It is the tradition of all mankind. The only change that has taken place is the altering or adapting of religions.