A CDS is a contract providing protection against credit defaults, while a Collateralized Debt Obligation (CDO) is a structured financial product backed by a pool of debt. Credit default swaps can be part of CDOs but serve different purposes.