why does only IRON get attracted towards a MAGNET?
Magnets attract all objects, but Something that is strongly attracted to a magnet is said to have a high permeability. Iron and steel are two examples of materials with very high permeability, and they are strongly attracted to magnets. Liquid oxygen is an example of something with a low permeability, and it is only weakly attracted to a magnetic field. Water has such a low permeability that it is actually repelled by magnetic fields. Everything has a measurable permeability: people, gases and even the vacuum of outer space.