The salt draws the water out of the cucumber so you can remove some of it. That way your tzatziki sauce doesn't become watery.