A machine for converting mechanical energy into electrical energy, typically by means of rotating coils of copper wire in a magnetic field.