When the free ends of a tester are dipped into a solution, the magnetic needle shows deflection. Can you explain the reason?