The correct answer to this open question is the following.
The correct answer is "to contrast the different living conditions for the middle and working classes."
The purpose of this source is " to contrast the different living conditions for the middle and working classes."
That is the purpose of the excerpt when it describes the following: "Middle-class professionals found it easy to get from their homes outside the city to their jobs, and back home at the end of the day. Not everyone was fortunate enough to live outside the city. Working-class immigrant families lived in the poorest parts of the city in tenement buildings.
It is true to say that tej Industrial Revolution changed people's for good or for bad.
People who lived in the rural areas of the country decided to move to the larger cities, where the big industries and factories were located. These fabrics offered jobs, although low-paid jobs to operate the machines in the factories. That attracted many people, including immigrants.
These immigrants were poor citizens from the rural areas who had to live in overcrowded spaces. These were small and unhealthy places with no ventilation, where the spread of disease was a major risk. Poverty and crime were also a consequence of this situation.