According to Buddhism, after death one is either reborn into another body (reincarnated) or enters nirvana. Only Buddhas (those who have attained enlightenment) will achieve nirvana. The Buddha said of death:
Life is a journey.
Death is a return to earth.
The universe is like an inn.
The passing years are like dust.
Regard this phantom world
As a star at dawn, a bubble in a stream,
A flash of lightning in a summer cloud,
A flickering lamp - a phantom - and a dream. {1}