Source: wikibot/electric-machine

= Electric machine
{wiki=Electric_machine}

An electric machine is a device that converts electrical energy into mechanical energy, or vice versa, or sometimes both. These machines can be broadly classified into two categories: electric motors and electric generators. 1. **Electric Motors**: These devices convert electrical energy into mechanical energy. They operate on the principle of electromagnetism, where electric current flowing through coils produces magnetic fields that interact with permanent magnets or other magnetic fields to produce motion.