The point is you can recuperate some money after donating it.
The optimal approach is roughly donating appreciated assets such as stock so you not only get to avoid paying taxes on the sale but also reduce your income taxes elsewhere by the full amount. Aka if a stock is nominally worth 10 million but you would only get 9 million after tax if you sell it you still get to deduct the full 10 million from income taxes. Which beats the obvious idea of using a corporation to directly pay them.
For the full tax implications you need to consider the benefits of avoiding income tax and gift/inheritance tax for the donors as well as the recipient receiving benefits tax free as well as a portion of their salary at much lower tax brackets plus the impact of payroll taxes.
(Not a tax professional and loopholes change over time.)