This strategy can help investors save on taxes — if it's done right Tax-loss harvesting gives investors a silver lining if they have realized losses