How is the magnetism of a magnet produced?
First of all, a magnet is a ferromagnetic substance, not necessarily iron. If you want it to be magnetic, you must magnetize it and let the magnetism disappear. Magnetization is the process by which a magnetic substance is not magnetic.
Generally, the magnetic distances of each domain are different, and the magnetic fields cancel each other, so the whole material is not magnetic. When the direction of each domain is uniform, the whole material shows magnetism. The so-called magnetization is to make the magnetic domain of the magnetic domain in the magnetic material become consistent. When the material that does not exhibit magnetism is placed into another strong magnetic field, it is magnetized, but not all materials can be magnetized, and only a few metals and metal compounds can be magnetized.
The principle of magnetic material is divided into many small areas, each tiny area is called a magnetic domain, each magnetic domain has its own magnetic distance (that is, a small magnetic field).