After esterification, excess long chain alcohol( octanol) still present. The alcohol need to be remove to get a pure ester. How to remove the excess alcohol as long chain alcohol does not soluble in water and boiling point of the alcohols are quite high.