Answer : The correct option is, cobalt.
Explanation :
Magnet : It is defined as a type of material which produces the magnetic field. Or we can say that a material that has the property of attracting an iron piece and producing the magnetic field.
The elements iron, cobalt and nickel are usually used in the making of magnets.
Hence, the element used to make magnets is, Cobalt.