A solenoid is a machine made up of a frame, a moving plunger (the armature), and a coil of wire. To put it simply, a solenoid turns electricity into motor work. The coil is made up of many tight turns of copper wire.