In solids, the distances between the molecules are closer and thus the atoms are more densely packed than in gases and liquids. Therefore, the molecules quickly collide with one another and transfer the vibrational energy. Similarly, in liquids the molecules are closer to one another than in gases. Therefore, the following data is inferred:
(a) Sound travels slowest in gases.
(b) Sound travels fastest in solids.