What is the cause of the magnetism of a permanent magnet?
Magnetism is produced by the movement of electric charges present in matter. In some substances, it is possible to “coordinate” the movement of these particles in such a way that the effect becomes macroscopically visible and permanent.