Technically should all be part of the same transaction. The title has to be “clean” before it can be transferred to a new owner. Meaning - no claims against the title. When there’s a lien, it needs to be satisfied before it can be transferred as part of the sale.