The vacuum breaker prevents dangerous back siphon and backflow into potable water supply. This is a requirement by some New Zealand  Local Councils.