The ratio of boys to girls is given as 5:7, which can be written as:
B/G = 5/7
We are given that there are 25 boys, so B = 25. We can substitute this into the ratio:
25/G = 5/7
To solve for G, we can cross-multiply:
25 * 7 = 5 * G
175 = 5G
G = 175 / 5
G = 35
So there are 35 girls.
The total number of children is the sum of boys and girls:
Total children = B + G = 25 + 35 = 60
Therefore, there are 60 children attending the preschool.
Final Answer: The final answer is $\boxed{60}$