The correct option is B They produce heat when placed in sunlight.
A magnet attracts magnetic substances like iron, nickel, and cobalt as well as attracting or repelling another magnet in the vicinity. Magnets align themselves according to the magnetic field of the Earth when freely suspended. However, magnets do not produce heat when placed in sunlight.