Sound waves are mechanical waves. Unlike EM waves, mechanical waves can't travel in vacuum, because for their propagation they require oscillation of matter. So they can transfer only through a medium.
while
Light is a transverse, electromagnetic wave that can be seen by humans. The wave nature of light was first illustrated through experiments on diffraction and interference. Like all electromagnetic waves, light can travel through a vacuum. The transverse nature of light can be demonstrated through polarization.