By 'waves' do you mean sound waves? If so sound waves need to travel through things like solids, liquids and yup gases. When the waves travel they are vibrating the molecules in the matter. By doing this he molecules in solids are packed very tightly.