sound waves travel faster in solids than in liquids, and faster in liquids than in gasses. While the density of a medium also affects the speed of sound, the elastic properties have a greater influence on the wave speed.
hope this helped
8.5m questions
11.2m answers