When a guitar string vibrates, it sets surrounding air molecules in motion, creating mechanical vibrations that propagate as sound waves. Sound waves are a form of mechanical energy (specifically, acoustic energy) because they require a medium (air) and involve physical particle displacement.
The vibrating string produces multiple frequencies and amplitudes simultaneously, giving the guitar its characteristic timbre. This energy conversion—string kinetic energy → air pressure waves → auditory perception—is the basis of acoustic guitar sound.