Can you explain me how does it work?
Circular into rectilinear motion. The waved-wheel or cam on the upright shaft communicates a rectilinear motion to the upright bar through the oscillating rod.
i've not understood
A slider-crank mechanism is a typical design which converts rotary motion into linear motion. It is achieved by connecting a slider and a crank with a rod.