A ramp lets you push a load up a long slope. A lever with a long arm turns a small push into a big lift. A pulley turns a pull down into a lift up.
Machines trade a smaller effort for more distance, or a better direction.