A merger is when two companies combine to form a single entity. Investment banks are often involved in mergers by providing advice to the companies involved, helping to structure the deal, and financing the transaction.