The elderly man was walking along the railway track near Mareer Chowk area of Rawalpindi when he was hit by a train, as a result he died on the spot.