they stick to metal's because the structure of a metal has free flowing electrons, and the magnet has poles which are attracted to the electrons.
the reason stuff is magnetic is because of compounds in which one of the atoms has a greater attraction to electrons than another atom in the molecule. this will form a pole which gives to molecule a dipole, or pole.
molecules with poles will stick to other molecules with poles, or metals because of the free flowing electrons.