A documentary credit is a bank's commitment to pay the beneficiary upon fulfillment of specified conditions, separating it from underlying sales contracts. It enhances security for buyers and sellers by ensuring payment for shipped goods while mitigating commercial and political risks. Various rules govern documentary credits, including the need for precise documentation and adherence to established international standards.