Solenoid
From DT Online
A solenoid is a coil of wire wrapped around a former. The plunger is free to move and is attracted into the coil when a current flows in the coil. When the current is turned off, a spring pushes the plunger out of the coil.
Solenoids are used for converting electrical energy into mechanical energy (transducer) in the form of linear motion.
They are current and voltage rated and attention must be taken to prevent these limits from being exceeded.
Uses include electrical door locks and model animation.