ancient indian philosophy also includes the mystical explanations and elaborations on the vedas known as upanishads ( 700 bce to 400 bce ) , as well as early buddhist writings ( 300 bce to 500 ce ) , and the sanskrit poem bhagavad-gita ( song of the lord , 200 bce to 200 ce ) .