The correct answer is: They allowed factories to produce more, which required more workers to move to the cities.
The invention of the light bulb and advancements in electrical power enabled factories to operate longer hours, increasing productivity and leading to a greater demand for labor. This, in turn, attracted more people to cities in search of jobs, contributing to urban growth in the late 1800s.