In electromagnetic waves, energy is transferred through vibrations of electric and magnetic fields. In sound waves, energy is transferred through vibration of air particles or particles of a solid through which the sound travels.