generator: engine that converts mechanical energy into electrical energy by electromagnetic induction
engine: motor that converts thermal energy to mechanical work
extremum: the most extreme possible amount or value