When settled neolithic cultures discovered the advantages of woven fibers over animal hides, the making of cloth, drawing on basketry techniques, emerged as one of humankind's fundamental technologies. Hand and hand with the history of clothing goes the history of textiles. Humans had to invent weaving, spinning and other techniques and the machines needed in order to make the fabrics used for clothing.
Before sewing machines, nearly all clothing was local and hand-sewn, there were tailors and seamstresses in most towns that could make individual items of clothing for customers. After the sewing machine was invented, the ready-made clothing industry took off.