Meaning: A teacher imparted knowledge to a group of students.
Choice of Words: The word "teacher" indicates the person's profession. "Taught" means he imparted knowledge. "Class" refers to a group of students. "To share knowledge" explains the teacher's purpose.