A cotton gin is a machine for separating cotton fibers from the seeds