A magnet is a material or object that produces a magnetic field. A "hard" or "permanent" magnet is one which stays magnetized for a long time, such as magnets often used on refrigerator doors. Permanent magnets occur naturally in some rock, particularly lodestone, but are now more commonly manufactured. A "soft" or "impermanent" magnet is one which loses its memory of previous magnetizations. "Soft" magnetic materials are often used in electromagnets to enhance (often hundreds or thousands of times) the magnetic field of a wire that carries an electrical current and is wrapped around the magnet; the field of the "soft" magnet increases with the current.Two measures of a material's magnetic properties are its magnetic moment and its magnetization. A material without a permanent magnetic moment can, in the presence of magnetic fields, be attracted (paramagnetic), or repelled (diamagnetic). Liquid oxygen is paramagnetic; graphite is diamagnetic. Paramagnets tend to intensify the magn