Electromagnetic waves are different from sound or water waves in such a way that water and sound waves are called mechanical waves that requires a material medium for their propagation.
Electromagnetic waves do no require a material medium for propagation.
Electromagnetic waves are carried or transported by radiation and this can be passed through vacuums and different other materials.
But mechanical waves such as water and sound waves requires a material medium for their propagation.