The Pelamis machine is made up of connected sections which flex and bend relative to one another as waves run along the structure. This motion is resisted by hydraulic rams which pump high pressure oil through hydraulic motors which in turn drive electrical generators.