Torrent Power Interview Question

How does an electromagnetic flow meter work?