Magnet attract only certain materials, and some they do not. The materials are categorized into two types. They are,
Magnetic materials:
Materials attracted towards a magnet are called magnetic materials. Magnetite or Lodestone is the first known natural magnet containing iron.
Iron is used to make steel which helps in the construction of buildings and rails.
BeFunky-collage (7).jpg
Iron ore and rails made of iron
Nickel is a magnetic material used to make coins.
BeFunky-collage (8).jpg
Nickel ore and a coin made of nickel
Cobalt is used in aircraft engines and is also used to colour the ceramics blue and green.
BeFunky-collage (2).jpg
Cobalt ore and ceramic bottles coloured in blue using cobalt
Non-magnetic materials:
The materials not attracted by a magnet are called non-magnetic materials.
BeFunky-collage (9).jpg
From clock-wise direction: Plastics, leather, rubber, and paper.

Even metals like gold and silver are non - magnetic.
BeFunky-collage (1).jpg
Gold and silver bar