Original: The string can vibrate in different modes just as a guitar string can produce different notes, and every mode appears as a different particle: electron, photon, gluon, etc..
Simplified: Imagine a guitar string vibrating differently to make different notes - the strings vibrate differently to make different particles: electron, photon, gluon, etc..