The Bhagavadgita is an episode recorded in the Mahabharata, a Sanskrit epic poem of ancient India. It is an influential religious text in Hinduism that takes the form of a dialogue between Prince Arjuna and Krishna, an avatar of the Hindu deity Vishnu. It was likely composed in the 1st or 2nd century CE. It is commonly referred to as the Gita.