The Mahabharata, one of the greatest epics in Indian literature, was composed by the sage Vedavyasa. He is also known as Vyasa or Krishna Dvaipayana. Vedavyasa is credited with compiling and organizing the Vedas and writing other significant texts like the Puranas. The Mahabharata contains profound philosophical and moral teachings, including the celebrated Bhagavad Gita.