what is the structural difference between a solenoid and an electromagnet?
An electromagnet is an electrically induced magnet. As the name implies, it is a core of magnetic material (such as iron) surrounded by a coil of wire through which an electric current is passed to magnetise the core. A solenoid is a cylindrical coil of wire acting as a magnet when carrying an electric current.