Sound is the energy objects produce when they vibrate. Sound energy is a form of mechanical energy. The substance that the sound waves travel through is called the medium. A medium can be a solid, liquid or gas. In a longitudinal wave, the particles of the medium move back and forth, while the energy moves forward. Then the particles are pushed together, it is called compression. When the particles are spread apart, it is called rarefaction.