What does "sell someone out" mean and when can it be used?

Native speaker’s answer
Rebecca
"Sell someone out" means to betray someone so that you can benefit or get an advantage. Ex: His business partner had sold him out. Ex: French farmers feel they've been sold out by their government in the negotiations.