Islam teaches that there is life after death, and this is known as Akhirah. In Islam, it is Allah who decides when a person dies and most Muslims believe that when they die, they will stay in their graves until Yawm al-din, the Day of Judgement. On that day, they will be raised from their graves and brought before Allah and judged on how they lived their earthly lives. This belief is known as the resurrection of the body.
Those who have performed more good deeds than bad will enter Jannah, or Paradise. Jannah is a place described as a 'garden of everlasting bliss' and a 'home of peace'. In Jannah there will be no sickness, pain or sadness.
Those who have performed more bad deeds than good will enter Jahannam or Hell. This is a place of physical and spiritual suffering.