well I know nothing about death, but according to Buddhists there are 8 stages to death in the mind, because it would take a huge post i don't feel like making to try to explain them, i will just list them.

1 mirage (you visualize things similar to mirages)
2 smoke (you visualize things similar to smoke)
3 fireflies (" " " " fireflies)
4 flame of a candle(" " " flame of candle)
5 vivid white sky-mind
6 vivid red or orange sky-mind
7 vivid black sky-mind
8 clear light

im pretty sure this all happens moments before your body actually dies, but it can feel like it takes years. pretty interesting