Microphone is used to convert sound waves into

A ) Mechanical energy

B ) Kinetic energy

C ) Potential energy

D ) Electrical energy ✅