Narrated Qatadah: Muhammad b. Sirin used to learn how to wash the dead from Umm 'Atiyyah: he would was with lotus leaves twice and with water and camphor for the third time.
The ritual of taharah has many spiritual benefits such as cleansing away any sins that may have been committed by the deceased during their lifetime, providing comfort for those who are grieving, and helping them accept death with peace and dignity while also honoring their loved one's memory through this act of kindness towards them even after they have passed away.
It also serves as a reminder for those who are still alive that death can come at any moment so they should strive to live their lives according to Islamic teachings while they still can in order to ensure that when their time comes, they will be ready for it without regrets or fear.