Here's why:
* Electromagnetic waves are disturbances in electric and magnetic fields that can travel through a vacuum (empty space) as well as through matter.
* Mechanical waves, on the other hand, require a medium (like air, water, or a solid) to travel. Examples of mechanical waves include sound waves and water waves.
So, if a wave travels through empty space, it must be an electromagnetic wave.