Question: what can electromagnetic waves do?
Answer: An electromagnetic wave can travel through anything - be it air, a solid material or vacuum. It does not need a medium to propagate or travel from one place to another. Mechanical waves (like sound waves or water waves), on the other hand, need a medium to travel. EM waves are 'transverse' waves.