At the heart of this setup are floaters, which rise and fall with the motion of the waves. This movement drives a hydraulic motor and generator, located onshore, to produce electricity.
In this video you can see what happens if you put pineapples between two nail beds and start the hydraulic press!