Where do M&A analysts work?

They typically work for investment banks, private equity firms, corporate finance departments, or consulting firms.