Vyasa
Besides its epic narrative of the Kurukshetra War and the fates of the Kauravas and the Pandavas, the Mahabharata contains much philosophical and devotional material, such as a discussion of the four "goals of life" or purusharthas (12.161). The latter are enumerated as dharma (right action), artha (purpose), kama (pleasure), and moksha (liberation). Among the principal works and stories that are a part of the Mahabharata are the Bhagavad Gita, the story of Damayanti, an abbreviated version of the Ramayana, and the Rishyasringa, often considered as works in their own right.