Care must be taken not to connect AC motors or transformers to direct current (DC) sources, as they can be seriously damaged by doing so. This is mostly a concern when dealing with low voltages, as normal electrical outlets almost always carry AC.
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.