Single- and three-phase alternating current (AC) motor speed can be controlled by controlling the frequency of the voltage coming to it.
Motor speed has a lot to do with the capacity of refrigeration compressors in refrigeration applications today. Air and water can also be controlled more closely with motor speed controls.