We distinguish here between mechanical waves where there is a tangible medium in which the wave travels, and other types of waves where the medium is not so evident.
Matter that mechanical wave energy can only travel through is medium.
Matter that mechanical wave energy can only travel through<>is<>medium