How does a whistle work?

All u do is blow air and then a high pitch comes out
6 answers 6