With a debt collection agency you assign them the debt. They pay you a fraction of the amount due, and if they manage to collect it they keep the balance for themselves.
Selling debt to a collector is giving up. You do it when you decide that the probability of getting paid is too small for you to spend further time on it.