In which medium does sound travel faster and why

Sound travels faster in solids because molecules in a solid medium are much closer together than those in a liquid or gas, which makes the sound travel faster. Sound waves travel over 17 times faster through steel than air.