Slider-crank linkage is like moving your arm up and down. You know how you bend and straighten your arm from your shoulder? Imagine a rod connecting your shoulder to your elbow and another rod connecting your elbow to your wrist. These two rods make a mechanism just like the slider-crank linkage.
The rod connecting your shoulder to your elbow is called the crank, which rotates in a circle. The rod connecting your elbow to your wrist is called the connecting rod or the slider, which moves back and forth in a straight line. The wrist is called the output.
When you move your arm up and down, the crank rotates and moves the slider back and forth. This converts the motion in one direction into the motion in another direction. This mechanism is used in many machines such as car engines and pumps.
So, slider-crank linkage is simply a mechanism that converts rotational motion into linear motion or vice versa, just like moving your arm up and down.