Each of the 25 students pays 1/25 of the cost, so pays
... $125×(1/25) = $(125/25) = $5
_____
The purpose of the fraction 1/n is to indicate that an object has been divided into n equal parts. Here, we want 25 equal parts, so we use the fraction 1/25 to represent one of them.