Trainers may use the whistle simply to gather a dog's attention, or to inflict pain for the purpose of behaviour modification.
In addition to lung-powered whistles, there are also electronic dog whistle devices that emit ultrasonic sound via piezoelectric emitters.