Sound is a form of energy that is produced when air molecules vibrate and move in patterns called sound waves. It is a longitudinal wave that needs a medium such as air, water or other matter to travel through. Sound allows for complex communication through speech, listening to obtain information, and enjoyment of music. It travels faster in solids due to their elasticity and density, and travels slower in gases. The speed of sound depends on the properties of the transmitting medium, including elasticity, density and temperature.