Indemnity contracts or clauses are common.
In them, an indemnitor promises to reimburse the indemnitee for any loss suffered or promises to hold the indemnitee harmless from liability. You might be presented with a contract that has this language. Be careful. You might be assuming all the liability and not getting anything in return.