People who work in investment banking are usually grouped based on their function (M&A, IPOs, etc) or industry focus. When you join a bank for an internship or a full-time position, you could start as a generalist or join a team that focuses on a specific industry.