Sound waves are produced by vibration that causes the molecules of a medium to form alternating high- and low-pressure fronts. These waves can travel through solids, liquids and sufficiently dense gases.
M A Y I S H A answered this
Sound is produced when objects vibrate i.e. from vibrations.