Temperature affects magnetism by either strengthening or weakening a magnet's attractive force. A magnet subjected to intense heat experiences a reduction in its magnetic field. Conversely, when the same magnet is exposed to low temperatures, its magnetic property is enhanced.
When heat is applied to a magnet, its thermal energy becomes elevated, which causes the magnet's atoms to deviate from their natural arrangement. The increased internal energy results in more random movement that occurs at a much faster rate. Instead of lining up and facing toward the same direction for maximum magnetic effect, the atoms become misaligned and the magnetic effect diminishes. When the magnet is exposed to a certain temperature known as Curie point, it completely ceases to be magnetic.