There were no organized set of gods; each city-state had its own patrons, temples, and priest-kings. The Sumerians were probably the first to write down their beliefs, which were the inspiration for much of laterMesopotamian mythology, religion, and astrology.
The Sumerians worshipped:
These deities were probably the original matrix; there were hundreds of minor deities. The Sumerian gods thus had associations with different cities, and their religious importance often waxed and waned with those cities' political power. The gods were said to have created human beings from clay for the purpose of serving them. If the temples/gods ruled each city it was for their mutual survival and benefit—the temples organized the mass labor projects needed for irrigation agriculture. Citizens had a labor duty to the temple which they were allowed to avoid by a payment of silver only towards the end of the third millennium. The temple-centered farming communities of Sumer had a social stability that enabled them to survive for four millennia.
Sumerians believed that the universe consisted of a flat disk enclosed by a tin dome. The Sumerian afterlife involved a descent into a gloomy netherworld to spend eternity in a wretched existence as a Gidim(ghost).
Ziggurats (Sumerian temples) consisted of a forecourt, with a central pond for purification. The temple itself had a central nave with aisles along either side. Flanking the aisles would be rooms for the priests. At one end would stand the podium and a mudbrick table for animal and vegetable sacrifices. Granaries and storehouses were usually located near the temples. After a time the Sumerians began to place the temples on top of multi-layered square constructions built as a series of rising terraces, giving rise to the later Ziggurat style.