An oxygen atom of a polar water molecule is negative.
Steel is magnetic, aluminium is not. So the electro magnet would pull only the stell food cans, separating them.
Answer:

Hope it helped,
Happy homework/ study/ exam!
It can and is used for everything