Once you are promoted to partner, you are no longer an employee of the firm and in some cases you no longer earn a salary. Instead when you are promoted to partner, you are allowed to "buy in" by purchasing a certain number of shares of the company. Once you own those shares you are then part-owner of the firm (rather than an employee) and enjoy profit-sharing.
A "first year" partner may have to pay ~$150,000 into the partnership, on perhaps a $300,000ish a year in profit sharing. Usually this is just a reduction in the profit sharing (or perhaps a multi year loan, i forget). Its not uncommon to earn less as a first year partner than your last year as Managing Director. You are not longer an employee, but part owner. You move onto a totally separate HR system (Benefits, etc.).
Relative works with mostly senior partners, multiple of them are making $1 million+ a year. That's not common, but as you move up the ranks of partnership, that's not a crazy salary. They work a lot, are all divorced, don't seem to even have time to enjoy the $$ etc. Listening to the details, I'm not super jealous.
The partnership is often the most valuable single asset a partner owns. It prevents them from jumping ship and taking clients. And it acts to hopefully prevent a partner from taking risks that could destroy the firm. Even senior people who might become partners in the near future will not want to put that partnership at risk.
When you retire, they'll buy your partnership out - often paid out over a few years.
If you're becoming a part-owner, of course it makes sense you have to buy shares, my only confusion is how they determine the relationship between the value of those shares and what you have to pay for them.
The firm could just give it to you, but the value of the interest would then be taxable income to you that you would need to pay taxes on in cash.
As others note, buying in also makes you literally and figuratively “invested” in a way that is thought to promote better behavior.