Privacy is provided by a coinjoin when participants create outputs with the same value as each other. However, participants in the coinjoin will have arbitrary input amounts, so splitting into several different sized UTXOs is necessary. This is not a one way operation, you can also consolidate UTXOs within a coinjoin transaction, not just split them.
