The Dean-Stark apparatus is employed to separate and collect water produced during esterification, driving the equilibrium towards ester formation by Le Chatelier's principle.