Bar Magnet
The substances which at room temperature retain their ferromagnetic property for a long period of time are called permanent magnets.
An efficientway to make a permanent magnet is to place a ferromagnetic rod in a solenoid and then pass current. The magnetic field of the solenoid magnetizes the rod.
The material used for making permanent magnets should have high retentivity—so that the magnet is strong, and high coercivity—so that the magnetization is not erased by stray magnetic fields, temperature fluctuations or minor mechanical damage.
Some suitable materials for making permanent magnets are alnico, cobalt steel.
Electromagnet
The core of an electromagnet ismade of ferromagnetic materials, which have high permeability and low retentivity (ability to retain magnetism on removal of current).
The mostsuitable material for making an electromagnet is soft iron.
By placing a soft ironrod in a solenoid and passing current, the magnetism of the rod can be increased thousand fold.
Electromagnets are used in electric bells, loudspeakers and telephone diaphragms. Giant electromagnets are used in cranes to lift machinery and bulk quantities of iron and steel.