Underwriting is the process used to assess the creditworthiness or risk of a potential customer. It is the process by which investment bankers raise investment capital from investors on behalf of corporations and governments that are issuing either equity or debt securities.
The process also involves agreeing to buy the security (by the underwriter) and then selling the security. The underwriter effectively takes a risk by agreeing to buy the security at the established price.