Mechanical waves require medium to travel.
Sound wave is a mechanical wave, which means, unlike light, it needs a medium to travel.
When a mechanical wave travels through a given medium, it loses energy to the medium.