This is called industrialization.
In industrialization the individual labor, mostly based on planting, tending to, and harvesting crops is replaced by large-scale production where the workers stand in assembly lines and a great part of the production is done by the machines.