A train that is sitting on a train track.
a black train engine pulling its cars and some tracks
Smokes comes from a train traveling beside a building.
A train rolls by on the rails with smoke coming from its chimney. 
a train rides along a track with steam pouring out of its top