How CDS(Credit Default Swap) works?

Thanks!

http://lmgtfy.com/?q=how+do+credit+default+swaps+work