Eli Whitney invented what?

Eli Whitney invented the cotton gin (engine).