Time of death:
All his life work shines: Kabbalah teaches that at the moment of passing, every positive thought, word, or deed that occurred during the person’s life is concentrated into a pristine spiritual light. This light is revealed to the world and in the Heavenly spheres, where it continues to shine and have an effect on those above and below.
Angels greet Tzadikim: At the time of death of a Tzadik there are three groups of angels who come to greet the soul and tell him to come in peace.
The soul needs comfort: When the soul departs from the body it is in a state of bewilderment and needs comfort from people in the room.
 Tanya Igeres Hakodesh 28
 Rama 403:10
 Taz 339:4; Kol Bo ibid, brought in Beir Hagoleh; Beis Lechem Yehuda 339