Yes, whole life insurance can help you leave behind a legacy/inheritance for your family. This is because whole life policies cover you till the age of 99. In case of the insured person's death before this age, the life insurance policy's beneficiaries will get the sum assured. Insurance payouts are exempt from tax subject to conditions prescribed under Section 10(10D) of the Income Tax Act, 1961.