to the students学生たち means “students” or “the students,” with たち marking a plural group. に marks the recipient or target of an action, such as speaking, explaining, or asking.
JA: 先生は学生たちに宿題を説明した。
EN: The teacher explained the homework to the students.