The question is what do all types of waves transfer. Waves, both mechanical and electromagnetic are disturbances that transfer energy without transporting matter. It doesnt matter wether they are propagating trough a medium or trough vacuum. Therefore the correct answer is A. energy.