"Investment banks" create loan agreements that cater to the needs of the investors whose funds they attempt to attract; "investors" are always sophisticated and accredited organizations not subject to bank regulatory supervision and the need to cater to the public trust. Investment banking activities are supervised by the SEC and their main focus is on whether the correct or proper disclosures are made to the parties who provide the funds.
Along with the fundamental requirements in the loan agreement, both local and national laws of government applicable in the loan must similarly be included. Likewise, there are loan types that require bank regulations so this should be included in the agreement as well. You will find that there are a lot of other provisions for different types of loans. It is imperative that you know about them and get them included in the agreement. If you are not familiar with the provisions for each different loan.
"Insurance" organizations, who collect premiums for providing either life or property/casualty coverage, created their own types of loan agreements. "Banks" and "Insurance" organizations loan agreements and documentation standards evolved from their individual cultures and were governed by policies that somehow addressed each organizations liabilities (In the case of "banks," the liquidity needs of their depositors; in the case of insurance organizations, the liquidity needs associated with their expected "claims" payments).
Prior to entering into a loan agreement, the "borrower" first makes representations about his affairs surrounding his character, creditworthiness, cashflow, and any collateral that he may have available to pledge as security for a loan. These representations are taken into consideration and the lender then determines under what conditions (terms), if any, they are prepared to advance money.