The Bhagavad Gita is contained in the Bhishma Parva (Book 6) of the Mahabharata. It forms chapters 23-40 of this Parva and occurs just before the great war begins, when Arjuna faces his moral dilemma on the battlefield. The dialogue between Krishna and Arjuna spans 18 chapters (700 verses).