"If it flaps its wings really fast, it can generate shock waves that will shatter windows in the area."
As stated in previous Pokemon entries, sometimes the Pokemon we see are just slightly larger or exaggerated versions of our own living creatures. And Bug-type Pokemon especially do this. For more proof of this, look at Yanma. This is a literally Dragonfly, just with a larger head and a more cartoony face. Oh, and the power to create soundwaves with its wings, among other things.
Yanma's Basic Attacks are Quick Attack and Wing Attack, while its Special Attacks are Aerial Ace, Ancient Power and Silver Wind.