In in 1793 he invented the cotton gin, a machine (‘gin’ is short for ‘engine’) that separates the seeds from cotton fibres by seizing the cotton by hooks fixed to a drum and dragging it through a mesh. Although this improved the profitability of the upland cotton industry, Whitney made little profit from it and later turned to manufacturing arms.