Why does snow close so many schools?

Hundreds of schools have closed across England and Wales because of snow. How are such decisions made?