How exactly does the option “Merge translation units” work?

Hello,

How exactly does the option “Merge translation units” in the Batch Processing Settings when finalizing the translation work?

How are segments merged, based on which criteria ?