If you have sold a capital asset and earned long-term capital gains, investing in 54EC bonds can help you enjoy tax-exemption on those gains. To claim these tax benefits, you will have to invest in the capital gain bonds within six months of transferring your capital asset.