A contingency fee is a payment arrangement where a lawyer receives a percentage of the settlement or judgment only if the case is won. This incentivizes the lawyer to achieve the best possible outcome for the client while providing access to legal services for those who might not afford them otherwise.