Both can transfer energy through matter, but sound waves travel through air and infrared waves travel through space.
9.5m questions
12.2m answers