Due to new technology in farming, fewer people needed to work as farmers, so the shift began from rural to the city. People moved to the city to get jobs in the new factories running on steam power created by burning coal. Amazing new technology was created in the city. The steam engine generated electricity by burning coal and creating steam, new medicine and vaccines, better nutrition, underground sewer systems, and flushable toilets. All these advances in technology meant people were living longer and the infant mortality began to decrease, so the population of the planet grew very quickly.