In preparation using acids, your impure product may contain acid impurities. These can be removed by adding aqueous sodium carbonate and shaking the mixture in the separating funnel.
Any acid will react with sodium carbonate releasing CO2 gas. The tap needs to be slowly opened, holding the stoppered separating funnel upside down, to release any gas pressure that may build up.
Finally the aqueous sodium carbonate layer is remover and the organic layer washed with water before running both layers off into two separate flasks