To find out how many students were in each bus, we need to divide the total number of students on the field trip by the number of buses.
The total number of students on the field trip is 117, and there were 3 buses. So, we divide 117 by 3:
117 / 3 = 39
Therefore, there were 39 students in each bus.