the essential story is about the relationship between gilgamesh, a king who has become distracted and disheartened by his rule, and a friend, enkidu, who is half-wild and who undertakes dangerous quests with gilgamesh. much of the epic focuses on gilgamesh's thoughts of loss following enkidu's death. it is often credited as being one of the first literary works with emphasis on immortality.