The term relay refers to electronic or electromechanical switches that have an open and closed state of circuits. Relays open and close connections in another circuit to control electrical circuits.
A mechanical device that turns energy into motion is referred to as a actuator.
A stepper motor is a type of synchronous electric motor that changes digital pulses to rotate a mechanical shaft.
A servo motor is an electrical device that precisely turns or pushes an object.