cotton is used for making thread and yarn