A slider-crank linkage consists of a crank, a connecting rod, and a slider. As the crank rotates, it causes the connecting rod to oscillate, which in turn drives the linear motion of the slider.