Invented by Eli Whitney, the cotton gin is a machine that quickly separates the cotton from the seeds.