Generators - convert mechanical energy into electrical energy<|>Motors - convert electrical energy into mechanical energy<|>Both operate through the interaction between a magnetic field and a set of windings
From batteries, photovoltaics, fuel cells, small DC generators, charge in one direction, has negative and positive terminals, easy conversion from AC to DC but not DC to AC
Power generation is dominated by AC machines, ranging from automotive alternators to the synchronous generators used in power stations, with efficiency increasing with size up to 98%
Both DC and AC motors are used, with high-power motors usually AC three-phase, and domestic applications often using single-phase induction motors, while DC motors are useful in control applications