Like many new inventions, the steam engine brought new problems too. Men, women and children had to work very late at night in dirty noisy factories. The steam engine burned coal, and the smoke polluted the air in the cities. Every day, thousand of people worked long hours in the coal mines and many of them died.