what tool did Eli Whitney invent that helped revolutionize agriculture in the south

Eli Whitney invented the cotton gin, which revolutionized agriculture in the South.