The total number of students is 25.
Multiples of 5 within this range:
\[
5, 10, 15, 20, 25 \quad \Rightarrow \quad 5 \text{ numbers}
\]
Multiples of 7 within this range:
\[
7, 14, 21 \quad \Rightarrow \quad 3 \text{ numbers}
\]
Common multiples of both 5 and 7 (LCM = 35) are not in the range.
Thus, the total favorable cases:
\[
5 + 3 = 8
\]
Probability:
\[
\frac{8}{25}
\]