Sound is vibration that travels in longitudinal waves and travels through matter - liquid, air, gas, and solids. When you make a sound, the vibration moves the matter particles around it, which in turn move the next set of particles, carrying the pulse of the vibration in a wave. When you tap the glass and shake the slinky, it demonstrates how the sound waves travel through the different materials.