An electric generator converts mechanical energy into electrical energy. A turbine, engine, hand crank, or other prime mover rotates part of a magnetic system relative to coils of wire. That changing magnetic field induces voltage in the conductors. When a load completes the circuit, the induced voltage drives current and transfers energy to the load.
What happens in five steps
1. A prime mover supplies mechanical energy
Something must turn the shaft. Moving water, wind, steam, combustion gases, or an internal-combustion engine can provide torque. A hand-cranked unit uses muscle power. The source changes, but the generator still needs mechanical input.
2. The rotor creates a moving magnetic field
In a common large alternating-current generator, the rotating part is the rotor and carries an electromagnetic field. Smaller designs may use permanent magnets, and some machines arrange the field and windings differently. What matters is relative motion between magnetic flux and conductors.
3. The changing flux induces voltage in the stator
Stationary insulated windings form the stator around the rotor. As north and south magnetic poles sweep past those windings, the magnetic flux through each coil changes. Faraday’s law describes how a changing flux produces electromotive force, or induced voltage.
4. A connected load draws current
Voltage alone is an electrical potential difference. When a complete external circuit is connected, charge moves through the windings and load. The current delivers energy that can become light, heat, motion, sound, or stored chemical energy.
5. Controls keep the output useful
Excitation controls can adjust magnetic-field strength and help regulate voltage. Speed control helps set alternating-current frequency in machines directly tied to their output waveform. Power electronics may rectify, invert, filter, or synchronize electricity before it reaches a battery, appliance, or grid.
A generator does not create energy
The word generate refers to producing electrical output, not making energy from nothing. The mechanical input must supply the electrical output plus losses in copper, magnetic material, bearings, fans, and other components. Those losses become heat, sound, and vibration.
As electrical load increases, the generator becomes harder for the prime mover to turn. The current creates magnetic effects that oppose the change producing it, consistent with Lenz’s law. An engine responds by burning more fuel; a turbine takes more energy from moving fluid; a person feels more resistance at a hand crank.
Why many generators produce alternating current
As a rotor pole approaches, passes, and moves away from a stator coil, the direction and size of induced voltage follow a repeating cycle. Multiple windings spaced around the machine can produce several phases offset in time. Three-phase output is common in power systems because it supports efficient transmission and smooth power in many motors.
A generator can also provide direct current. A commutator can mechanically reverse connections in a traditional DC machine, or electronic rectifiers can convert alternating output into one-direction current. An inverter generator uses additional power electronics to create a controlled AC waveform from an intermediate electrical stage.
Speed, field, voltage, and frequency are related but different
In a synchronous AC machine, output frequency depends on rotational speed and the number of magnetic poles. Field strength, speed, winding design, and load affect voltage. A regulator cannot correct every condition: an overloaded or poorly driven machine may lose voltage, frequency stability, temperature margin, or waveform quality.
That is why a generator has ratings for continuous power, temporary surge, voltage, frequency, phase, environment, and duty. Apparent power and real power can differ with reactive loads such as motors. Selection and connection require the actual equipment specifications, not only a total of nameplate watts.
Different energy sources can drive the same principle
A hydropower turbine uses falling or moving water. A wind turbine uses aerodynamic torque. Steam turbines can receive heat energy originating in nuclear fission, fossil fuel, biomass, solar thermal collection, or geothermal resources. Combustion turbines use expanding hot gas. The upstream conversion differs, while the electromagnetic generator performs the final mechanical-to-electrical step.
How a generator relates to an electric motor
Motors and generators use closely related electromagnetic structures. A motor accepts electrical energy and develops mechanical torque. A generator accepts mechanical torque and develops electrical output. Some machines can operate in either direction under the correct control, which is why regenerative systems can turn a drive motor into a generator during braking.
Portable-generator safety is part of the mechanism
An engine-driven portable generator also produces hot exhaust containing carbon monoxide, a colorless and odorless poison. CPSC instructs consumers to operate portable generators outside only, at least 20 feet from homes, with exhaust directed away from buildings, windows, doors, and vents. Opening a garage door does not make indoor operation safe. Working carbon-monoxide alarms provide additional protection but do not replace correct placement.
Never connect a portable generator to building wiring by plugging it into a wall outlet. That practice, called backfeeding, can energize utility lines and bypass protection. A building connection requires approved transfer equipment installed according to local rules by qualified professionals. Fuel, moisture, grounding, cords, overload, and refueling add further hazards; follow the exact manual and official emergency guidance.
The useful mental model
A generator is a controlled magnetic converter. A prime mover turns the field, changing flux induces voltage in wire, a circuit draws current, and that current pushes back with torque. Useful electricity is the mechanical input continuing through a different form.



