Complex sentence: Whether the reason is that the person is terminally ill or is at an old age, the person knows death is near and could use it as closure.
Split into simpler sentences: Whether the reason is because the person is terminally ill or is at an old age. The person knows death is near and could use this as closure.