Entity Purchase Agreements can be used as vehicles to ensure the continuity of your business. Here is how it works:
The entity would purchase life insurance policies on all of the owners, and thereby the entity would be both the owner of the policy and the beneficiary. In other words, that would be an expense to your company, the LLC, the C Corp, or the S Corp, however you were born.
But when the person died, the company would buy out the deceased partner's share and the business would continue with the remaining partners as the successor in interest.