Dumuzid, later known by the alternate form Tammuz, is an ancient Mesopotamian god associated with shepherds, who was also the primary consort of the goddess Inanna (later known as Ishtar). In Sumerian mythology, Dumuzid's sister was Geshtinanna, the goddess of agriculture, fertility, and dream interpretation. In the Sumerian King List, Dumuzid is listed as an antediluvian king of the city of Bad-tibira and also an early king of the city of Uruk. In the Sumerian poem Inanna Prefers the Farmer, Dumuzid competes against the farmer Enkimdu for Inanna's hand in marriage. In Inanna's Descent into the Underworld, Dumuzid fails to mourn Inanna's death and, when she returns from the Underworld, she allows the galla demons to drag him down to the Underworld as her replacement. Inanna later regrets this decision and decrees that Dumuzid will spend half the year in the Underworld, but the other half of the year with her, while his sister Geshtinanna stays in the Underworld in his place, thus resulting in the cycle of the seasons.
Gilgamesh references Tammuz in Tablet VI of the Epic of Gilgamesh as one of Ishtar's past lovers, who was turned into an allalu bird with a broken wing. Dumuzid was associated with fertility and vegetation and the hot, dry summers of Mesopotamia were believed to be caused by Dumuzid's yearly death. During the month in midsummer bearing his name, people all across Mesopotamia would engage in public, ritual mourning for him. During the late twentieth century, scholars widely thought that, during the Sumerian Akitu festival, kings may have established their legitimacy by taking on the role of Dumuzid and engaging in ritualized sexual intercourse with the high priestess of Inanna as part of a sacred marriage ceremony. This notion is now generally rejected by scholars as a misinterpretation of Sumerian literary texts. The cult of Dumuzid was later spread to the Levant and to Greece, where he became known under the West Semitic name Adonis.
the cult of Ishtar and Tammuz continued to thrive until the eleventh century AD and survived in parts of Mesopotamia as late as the eighteenth century. Tammuz is mentioned by name in the Book of Ezekiel and possibly alluded to in other passages from the Hebrew Bible. In late nineteenth and early twentieth century scholarship of religion, Tammuz was widely seen as a prime example of the archetypal dying-and-rising god, but the discovery of the full Sumerian text of Inanna's Descent in the mid-twentieth century disproved the previous scholarly assumption that the narrative ended with Dumuzid's resurrection and instead revealed that it ended with Dumuzid's death. The existence of the "dying-and-rising god" archetype has been largely rejected by modern scholars.