The 700-verse Bhagavad Gita told at the beginning of the climactic Mahabharata war between the Pandavas and their cousins, the Kauravas at Kurukshetra, deals with a variety of Hindu philosophical ideas.
The council advised the king to approach the omniscient saint, Parvata Muni (sage of the mountain).
He stated that his father had committed the sin of not fulfilling his sexual duty to his wife while she was ovulating, choosing to visit a village instead.
As a solution to rectify the situation, the sage suggested to the king to observe vrata (vow) of the Mokshada Ekadashi day.
[4] On Moksha Ekadashi, the king observed the vrata with a complete fast along with his wife, children, and relatives with full faith and devotion.