train; long-distance train
Commonly used for trains, especially long-distance or intercity trains. In modern Japanese, 電車 is more common for local electric trains, but 汽車 is still used for steam or long-distance trains, and in set phrases.
汽車で北海道まで旅行した。
I traveled to Hokkaido by train.
この駅には一日に数本しか汽車が停まらない。
Only a few trains stop at this station each day.
steam train
Original meaning; now mostly historical or nostalgic. Refers specifically to steam locomotives. In modern contexts, 蒸気機関車 is more precise.
博物館で昔の汽車の模型を見た。
I saw a model of an old steam train at the museum.
I boarded the train bound for Tokyo.
I went to my family's home in the countryside by train.
A train was running through the mountains.
I heard a train whistle in the distance.