CDS payoff options

Can someone explain to me in which scenarios would you choose between a cash settlement and a physical settlement for a CDS using the cheapest to deliver bond? im just not getting the concept.