The true statement is:
Mechanical waves require a medium to travel through, but electromagnetic waves do not need a medium.
Mechanical waves (like sound waves) depend on a medium (solid, liquid, or gas) to propagate, while electromagnetic waves (like light, radio waves, etc.) can travel through a vacuum as well as through a medium.