QUOTE
Santhara (also Sallekhana, Santhara, Samadhi-marana, Samnyasa-marana), is the Jain religious ritual of voluntary death by fasting. Supporters of the practice believe that Santhara cannot be considered suicide, but rather something one does with full knowledge and intent, while suicide is viewed as emotional and hasty. Due to the prolonged nature of Santhara, the individual is given ample time to reflect on his or her life. The vow of Santhara is taken when one feels that one's life has served its purpose. The purpose is to purge old karmas and prevent the creation of new ones.


You can read more about it... here. And... here.

QUOTE
As well as giving up food and water, the ascetic abandons all desires and dislikes so that they can concentrate exclusively on the spiritual as they approach death.