When a train is approaching from a fair distance, we hear multiple sounds i.e on through track and another through the air.
We know that sound travels fastest in solids and slowest in gases. So, if we put our ears on a railway track where a train is approaching from a fair distance, we hear two sounds - first one is transmitted in the tracks (solid medium) and the other is transmitted through the air (gaseous medium) which is the second sound.