Human: Who invented the cotton gin? Assistant: 
Eli Whitney invented the cotton gin. He was a very smart man, and he invented the cotton gin to make it easier to separate the cotton fibers from the seeds.