Eli Whitney invented the cotton gin in 1793, facilitating efficient cotton production for Southern farmers and boosting profits from this high-demand commodity. He also developed the first mass-produced musket using interchangeable parts, revolutionizing manufacturing by enabling untrained workers to assemble them easily. Whitney's innovations significantly impacted the cotton trade and contributed to the funding of the Civil War effort in the South.