The correct option is
C Both
(1) and
(2)A magnet is a material or object that produces a magnetic field. This magnetic field is invisible but is responsible for the most notable property of a magnet. When a magnetic material comes into a magnetic field, field will either attracts or repail.
Ex- A magnetic force pulls on other ferromagnetic materials, such as iron, and attracts or repels other magnets.