Class is the group ************SPAM/BANNEAR************ people. Lesson is the activity itself.
Teacher is a person who teaches; professor is more specific. Teacher is usually used for primary and high school professionals, while professor is used for college and university professionals.
Thanks dude!