If the student sends a message to the teacher, the message is saved in the teachers and students collections. The same situation is when a teacher
teachers
students