The Bhagavad Gita forms eighteen chapters of the Mahabharata.