[3][4][5] Ubhay Bharati was born in a Maithil Brahmin family at Bhatpura village of the Mithila region in India.
[9][10] Adi Shankaracharya was directed by Kumarila Bhatta to visit the hermitage of his disciple Mandan Mishra for a philosophical debate with him to prove and establish his works on Advaita Vedanta.
It is said that the philosophical debate also called as Shastrartha in Sanskrit literature continued for many days but in last Mandana Mishra was defeated by Adi Shankaracharya.
It is said that after seeing the defeat of her husband Mandana Mishra, the learned wife Ubhaya Bharati challenged the winner Adi Shankaracharya for debate with her.
In this second Shastrartha, Ubhay Bharati asked questions on the topics of Kamasastra to the opponent Adi Shankaracharya.
Since Adi Shankaracharya was a scholar of Sanyashi tradition and maintained celibacy in his life, he was not aware with the knowledge of Kamasastra.
[6] According to legend, it is said that after the defeat, Adi Shankaracharya asked for a period of one month with Ubhaya Bharati, so that he would be able to acquire the knowledge of Kamasastra and invite for one more debate with her on the subject.
After learning the art of sexual love in Kamasastra, he returned to the house of Ubhaya Bharati and again invited for the debate.