what is sound and how it is produced
Sound is a vibration in an elastic medium (eg air) at a frequency which can be heard by human ear. Sound is propagated through an elastic medium as a longitudinal wave.
Sound waves are longitudinal waves produced by variations in air pressure. A vibrating source pushes molecules in air back and forth, creating areas of compression and rarefaction. When a molecule moves, it collides with the next one and makes it move too. The energy of a sound wave travels away from the source trough a series of molecule collisions parallel to the direction of the wave.
When an object vibrates it makes the air particles around it vibrate as well and our ear drums sense this vibration and turn it into electric signals that our brain can understand. This is how we hear sound. The number of vibrations per second determines the pitch of the sound.