Answer :
During the Industrial Revolution in England, factories were often built in cities.
On rivers because the needed energy from the water wheels to run the machines.