which statement is true for electromagnetic and mechanical waves?

a. Mechanical waves sometimes travel through a vacuum and electromagnetic waves sometimes travel through matter
b. Electromagnetic waves require a medium to travel, but mechanical waves do not need a medium
c. Electromagnetic waves travel mainly through matter and mechanical waves travel only through a vacuum
d. Mechanical waves require a medium to travel through, but electromagnetic waves do not need a medium

d. Mechanical waves require a medium to travel through, but electromagnetic waves do not need a medium