Broadly speaking, the function of teachers is to help students learn by imparting knowledge to them and by setting up a situation in which students can and will learn effectively. But teachers fill a complex set of roles, which vary from one society to another and from one educational level to another.