Care must be taken not to connect DC motors or devices to alternating current (AC) sources, as they can be seriously damaged by doing so!
The voltage number itself is most important, as a device must never be connected to a supply higher than the device is rated to handle, or with a voltage switch set incorrectly.