Polluted rivers and smoke-filled air began to dominate cities, which in turn created poor living and working conditions that gave rise to socialism. The most direct pollution problem created by the locomotive was the carbon dioxide emitted into the atmosphere. It gave way to poor air quality and poor living conditions.