Life and death are two related terms. But we people cannot face the fact that we have to die one day. We always try to avoid the fact and think death as something unnecessary in life or undesirable. I have personally seen people cry over somebody's death for many days. It is natural to cry but we have to accept the fact that life is inevitable. Life is impermanent, we can die anytime. There is no certain time or fixed time for death. It can occur anytime not necessarily that we have to become sick and die. So, life and death are co-related with each other and accept the fact that death is part of our lives.
Death is like changing into your new dress says the holy rinpochen. Yes, it is true. When our dress becomes old and worn out, we change our dress. So, death is like changing dress. Your physical appearance varies but your soul is the same. People are so busy with their lives that they even forget that they have to die one day. They get so attached with the worldly pleasure and during the time of dying they cannot face it. So, we should be able to face death and be prepared to die.
Those people who accept death as a part of life prefer to have peaceful death. According to Buddhists philosophy, one can have peaceful death only if have accumulated merits in our present and past life. It also depends on one important thing that is during the time of dying we should have positive ideas and thoughts. We should clear our evil thoughts then we can have peaceful death. Those people who have accumulated demerits in their lives can also die peacefully if their attitude changes during the time of dying. Like if they remove evil inside them and become optimistic during the time of dying then they can have peaceful death. The other thing we have to keep in mind is that we shouldn't be so attached with things like money, power, and possessions that way we cannot die peacefully. Most of the people are so into materialistic world, they think that if we have money and power they have everything.