A ratchet is a mechanical device that uses a 🔧 wrench and 🔩 socket to allow for rotational motion in only one direction while preventing backward movement.