When a Christian dies, it is seen as the end of his/her life on earth. A funeral is held for friends and family to grieve for the person who has died and give thanks for their life.
If someone is on their deathbed, a minister will prepare them for death. This is most likely after a long period of illness. Prayers of preparation and reconciliation may be said, with only the minister in the room. Family and friends can participate in the Lord's Prayer, the Word of God and Holy Communion.
Often, the deceased will have left information in his/her will concerning what they want to be included in the funeral service (hymns, prayers) and will also say whether they wanted to be buried or cremated.