Mufflers incorporate networks of baffles, chambers, and tubes that cause sound waves coming from the engine to cancel each other out as they bounce off the different surfaces.