The coinjoin rabbit hole goes really deep, I'm still learning new technical nuances constantly.
To get a rough intuition of the privacy properties, I think it's best to look at a WabiSabi coinjoin and ask yourself these three questions:
Which inputs belong to the same user?
Which outputs belong to the same user?
How many users are there?
https://mempool.space/tx/c235c866e68aeb1ccd51af06157ba068c1fa7a30a90d1591b24f422682cc3aef