Sound travels faster through solids than liquids, which travel faster than gases.
In general, sound travels fastest through solids (about 12 km/sec), slower through liquids (about 4 km/sec), and slowest through gases (about 300 m/sec).
The speed of sound is the distance traveled by sound waves per unit time.