A bank guarantee, like a line of credit, guarantees a sum of money to a beneficiary. Unlike a line of credit, the sum is only paid if the opposing party does not fulfill the stipulated obligations under the contract. This can be used to essentially insure a buyer or seller from loss or damage due to nonperformance by the other party in a contract.