What is the role of clearing corporations?

They ensure settlement of trades, guarantee performance of contracts, and manage risk for all participants.