Early education in India commenced under the supervision of a guru. Initially, education was open to all and seen as one of the methods to achieve Moksha, or enlightenment. Education in India in its traditional form was closely related to religion. In India philosophical enquiries were carried out in the inner world. Indian sages, called Rishis, developed special techniques of transcending the senses and the ordinary mind, collectively and delved deep into the depths of consciousness and discovered important truths about the true nature of man and the universe. Thus in ancient India, philosophy and religion complemented each other. This integral religious philosophy or Education was called Vedanta.
Outside the religious framework, kings and princes were educated in the arts and sciences related to government: politics , economics , philosophy, and historical traditions
With the advent of Islam in India the traditional methods of education increasingly came under Islamic influence. Pre-Mughal rulers such as Qutb-ud-din Aybak and other Muslim rulers initiated institutions which imparted religious knowledge. Scholars such as Hazrat Nizamuddin Auliya and Hazrat Khwaja Moinuddin Chishti became prominent educators and established Islamic monasteries.
Hazrat Khwaja Moinuddin Chishti introduced and established the Chishti Order of Sufism in the Indian subcontinent. The initial spiritual chain or silsila of the Chishti order in India, comprising Moinuddin Chishti,Qutbuddin Bakhtiar Kaki, Fariduddin Ganjshakar and Nizamuddin Auliya, each successive person being the disciple of the previous, constitutes the great Sufi saints of Indian history
Islamic institution of education in India included traditional madrassas and maktabs which taught grammar, philosophy, mathematics, and law influenced by the Greek traditions inherited by Persia and the Middle East before Islam spread from these regions into India.
Eventually while the coming of the Europeans later bought western education to colonial India the traditional system decayed. British education became solidified into India as missionary schools were established during the 1820s. These schools taught the students the knowledge of the outer world.
The teachers of ancient Schools are today known as the Saints in Hindus and Muslims. In short they were teachers who taught the disciples or students. They were no saints or enlightened. We have been made to believe that they were great souls who walked the earth