Torrent Power interview question

How does an electromagnetic flow meter work?