By using a heat source to boil water.
Steam trains were once widespread, and changed the world. A steam engine is an external combustion engine, meaning that the fuel burns outside the engine. In modern internal combustion engines the petrol or diesel burns inside the engine, and the gases produced expand and push the cylinders, and this motion eventually turns the wheels. In the steam engine the fuel burns in an external fire box. The heat boils the water to make steam, which pushes the cylinders. So it depends exactly what you mean by 'run'. Certainly there were and are steam trains, but the steam doesn't provide the energy to make it go, the fuel does.
Hemp oil
it used t caryy coal ate front of it and that coal helped the steam engine run.
Yes. The early piston engines were all run on steam generated by coal which would boil water.
complete combustion producies co2 and steam incomplete co and steam
Yes. Steam is produced in a steam generator (boiler), used to power an engine (or turbine), condensed, and returned to the boiler as feedwater.
trains could run longer
Yes if it has a steam engine
Nothing. I believe you mean to run out of STEAM, which means that your "engine" doesn't have any "steam" in it - you've run out of energy or drive for something.
Steam trains were first. they use both fire and water to produce steam and make the engine run.
Richard Trevithick, 1804
the turbines run due to the steam produced by sun.