The true statement is:
Mechanical waves require a medium to travel through, but electromagnetic waves do not need a medium.
Mechanical waves, such as sound waves and water waves, need a medium (solid, liquid, or gas) to propagate, whereas electromagnetic waves (like light, radio waves, and X-rays) can travel through a vacuum as well as through various media.