James Hargreaves invented the spinning jenny in 1764. The machine changed the history of textile production and moved workers from home to factories.