Electric motors must be supplied with about the correct voltage, often +/- 10%, they dont "know" which, if any, circuit conductor is grounded.
Single phase two wire motors are produced in various voltage to suit the supply in different countries, they must be used on at least roughly the correct voltage. 220 volt and 240 volt are interchangeable for all but the most critical applications.
Three phase three wire motors are also made in different voltages to suit different markets, and again must be used on at least roughly the right voltage.
Three phase motors with 6 or more wires can be configured for different voltages, and must be connected internaly for the correct supply.
Frequency is also important, and in theory motors should be used on the correct frequency, though for small motors in non critical applications it often does not matter that much.
A 50 cycle unit worked on 60 cycles will run faster and produce more HP, it might tend to overheat, but the fact that the internal fan runs faster tends to counteract this.
A 60 cycle motor run on 50 cycles will run slower, and may draw more current with risk of overheating, though in practice the driven pump/fan/other load will absorb less HP at the lower speed, and may prevent overheating.
If the frequency is higher than intended, then a slightly higher supply voltage is generally OK.
If the frequency is lower than intended, then ideally the voltage should also be reduced.
USA type 277 volt, 60 cycle, single phase fan motors work fine on a UK 240 volt 50 cycle supply.