What is the meaning of Diesel-electric?

Describing a power system in which a diesel engine powers an electrical generator.

A diesel-electric locomotive.

Source: wiktionary.org