This is a great way to induce linear motion for pushing, pulling or controlling switches and levers. According to the datasheet this solenoid is rated for 36V but they work like a charm at 12V.
This smaller solenoid is designed to work directly with 5V which makes it a great match for embedded projects.