Osmosis occurs. The water potential inside the cucumber is higher than that of the brine. Water molecules move from the cucumber to the brine by osmosis. Therefore, the cell in cucumber shrink and become plasmolysed. So whatever adding sugar or salt, the result is actually the same. Science in cooking