A diesel electric locomotive uses a diesel engine to power a generator that produces electricity. This electricity powers electric motors attached to the wheels, providing propulsion. Unlike a traditional steam or gas-powered train, the diesel engine's power is converted to electricity to drive the wheels, providing more efficient operation and easier maintenance.