A workers' compensation lien is a legal claim allowing insurers or medical providers to recover costs from a settlement awarded to an injured worker, ensuring equitable distribution of funds.