Have you ever worked in a factory?
I have not but factories became about with the introduction of machinery during the Industrial Revolution when the capital and space requirements became too great for cottage industry or workshops.