Understanding the relationship between yarn production and the techniques used for knitting and weaving garments.