Both the Vedic and Buddhist Vinaya, Abhidhamma and Sutta system had different education subjects,the Vedic system had four subjects (the four vedas) they were Rig Veda, Sama Veda, Yajur Veda and Atharva Veda. Six Vedangas ritualistic knowledge, metrics, exegetics, grammar, phonetics and astronomy.the Upanishads, Tarka Shastra (logic and reasoning). Puranas (history).The main subjects in the Buddhist system were the three Pitakas. These were all main subjectcts of ancient India.