In the given electric circuit, the device X is:
(3)
Galvanometer is an instrument that is used to detect the presence of the current in the circuit. And when magnet is moved near the coil, the current is induced in the coil.