Which kind of motion produces sound?
A sound wave is produced by a vibrating object. As a guitar string vibrates, it sets surrounding air molecules into vibrational motion. The frequency at which these air molecules vibrate is equal to the frequency of vibration of the guitar string.