A lien is a legal claim or right against a property, typically used as collateral to satisfy a debt or obligation. It ensures that the creditor has a secured interest in the property until the debt is paid off, potentially leading to foreclosure if the debtor defaults.