What pressing problem did the invention of the cotton gin solve?

in 2 sentences

The invention of the cotton gin solved the pressing problem of separating seeds from cotton fibers, making the process significantly faster and more efficient. Prior to the cotton gin, the labor-intensive task of separating seeds from cotton fibers was done by hand, which was time-consuming and required a large number of workers.