In the very first stage of textile production, fibers from natural raw materials like cotton, silk, wool, and others and synthetic fibers like nylon, rayon, polyester, and others are processed to make yarn. This step is called spinning of yarn. Spinning of yarn can be done with the help of machines as well as by hand.

http://www.deheng-machinery.com/shorts-making-machine/