What exactly is this? Is this when you combine all your CC balances with one "debt consolidation" company and they negotiate a smaller balance for them?

as opposed to bankruptcy?

I know there are 2 different things and that one totally affects your credit but I am getting confused.