Eli Whitney receives a patent for the cotton gin, a device that revolutionizes cotton production.