Steam trains were indeed faster than wagons, and steam ships faster and stronger than sailing ships. But the smoke they sent into the air polluted the air. Then diesel and electric trains came, and they were somewhat cleaner. However, to make the electricity that trains use; large amounts of coal have to be burned.