Hindu traditionalists assert that the Gita came into existence in the third or fourth millennium BCE. Scholars accept dates from the fifth century to the second century BCE as the probable range.
The Gita is set in a narrative framework of a dialogue between Pandava prince Arjuna and his guide and charioteer Lord Krishna. Facing the duty as a warrior to fight the Dharma Yudhha or righteous war between Pandavas and Kauravas, Arjuna is counselled by Lord Krishna to "fulfill his Kshatriya (warrior) duty as a warrior and establish Dharma." Inserted in this appeal to kshatriya dharma (chivalry)is "a dialogue ... between diverging attitudes concerning methods toward the attainment of liberation (moksha)". The Bhagavad Gita was exposed to the world through Sanjaya, who senses and cognizes all the events of the battlefield. Sanjaya is Dhritarashtra's advisor and also his charioteer.
The Bhagavad Gita presents a synthesis of the concept of Dharma, theistic bhakti, the yogic ideals of moksha through jnana, bhakti, karma, and Raja Yoga (spoken of in the 6th chapter)and Samkhya philosophy.The verses of the Bhagavad Gita can be understood at different levels of depth: the normal meaning (artha) and the deeper meaning (goodhaarth), which range from the advice given regarding day-to-day life to the deepest understandings of the nature of existence and God.