The short answer
Collateral is an asset pledged to support a debt. If the obligations are not met, the creditor may have rights over that asset.
How it works
The asset may belong to the borrower or, in some arrangements, another person. Its value can change, and security may cover more than one obligation. Pledging an asset is different from paying a deposit.
A simple example
A vehicle worth 10,000 supports a loan of 7,000. If its value later falls to 5,000, the collateral may no longer cover the outstanding debt and costs.
What can be easy to miss
The identity of the asset, ownership, valuation and release conditions matter. A sale can leave a shortfall; excess proceeds are handled according to rights and local law.
How it varies by country
How security is registered, enforced and released varies by location and asset type.