Most matter is composed of molecules, molecules are composed of atoms, atoms are composed of nuclei and electrons. Inside the Atom, electrons rotate and rotate around the nucleus. Both movements of electrons produce magnetism. However, in most substances, the direction of electronic motion is different and chaotic, and the magnetic effects cancel each other out. Therefore, most substances do not exhibit magnetism under normal circumstances.
Ferromagnetic substances such as iron, cobalt, nickel, or ferrite are different. Their internal electron spins can be spontaneously arranged in a small range to form a spontaneous magnetization zone. This spontaneous magnetization zone is called a magnetic domain. After magnetization of ferromagnetic materials, the internal magnetic domains are neatly arranged and aligned in the direction, so that the magnetism is strengthened and a magnet is formed. The iron absorption process of the magnet is the magnetization process of the iron block. The magnetized iron block and the magnet have different polarity and attract, and the iron block is firmly "glued" with the magnet. We 'll say the magnet is magnetic.