How microphone and loudspeaker are related to each other?
A microphone converts sound energy into electrical energy and a loud speaker converts electrical energy into sound energy.
A moving coil microphone works on the principle of electromagnetic induction. Sound waves from the source hits the diaphragm of the microphone which vibrates and then is converted to electrical energy through magnetic coils whereas electrical signal is converted into sound waves in case of loudspeakers.