Passing current through a magnet, particularly if made of iron or steel, can influence its magnetic properties. Direct current (DC) creates a stable magnetic field that may alter the material's residual magnetism, while alternating current (AC) generates an oscillating magnetic field that superimposes on the existing magnetic field. The movement of electrons around atoms contributes to the magnet's inherent magnetic properties, known as bound current. Induced current, or free current, enhances the overall magnetic field when current flows through the magnet. Ultimately, the type of current affects the strength and behavior of the magnet's magnetic field.