Commercial banks and investment banks are financial institutions that serve distinct roles in the financial market. A commercial bank is…