What is cotton gin?
Which task was performed by the cotton gin?