Do sound waves travel better through solids liquids or gas?

Of the three mediums (gas, liquid, and solid) sound waves travel the slowest through gases, faster through liquids, and fastest through solids. This is because longitudinal waves require collisions between particles to transmit energy - in dense materials, the atoms are closer together, leading to more collisions per second, increasing the speed of transmission. Temperature also affects the speed of sound.