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.
For commercial banks and large finance companies, "loan agreements" are usually not categorized although "loan portfolios" are often broadly characterized into "personal" and "commercial" loans while the "commercial" category is then subdivided into "industrial" and "commercial real estate" loans. "Industrial" loans are those that depend on the cashflow and creditworthiness of the company and the widgets or service that it sells. "Commercial real estate" loans are those that repay loans but that depend on the rental revenues paid by tenants who lease space, usually for extended times. More granular categorizations of loan portfolios exist but these are always variations around the larger themes.
"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.
To sum up, the loan agreement contains the terms and the conditions that are pointed out so that the borrower can draw out a loan. The terms and conditions are set by the lender, which can be a bank, or another type of financial institution. In fact, the loan represents a type of "facility" that is offered by the lender, and that is why the agreement on the conditions under which a loan can be taken out is also referred to as a facility agreement. The agreement comprises four sections.