Rebirth in Buddhism refers to the teaching that the actions of a sentient being lead to a new existence after death, in an endless cycle called saṃsāra. This cycle is considered to be dukkha, unsatisfactory and painful. The cycle stops only if Nirvana (liberation) is achieved by insight and the extinguishing of craving. Rebirth is one of the foundational doctrines of Buddhism, along with karma and Nirvana. Rebirth was a key teaching of early Buddhism along with the doctrine of karma (which it shared with early Indian religions like Jainism). In Early Buddhist Sources, the Buddha claims to have knowledge of his many past lives. Rebirth and other concepts of the afterlife have been interpreted in different ways by different Buddhist traditions.
The rebirth doctrine, sometimes referred to as reincarnation or transmigration, asserts that rebirth takes place in one of the six realms of samsara, the realms of gods, demi-gods, humans, the animal realm, the ghost realm and hell realms. Rebirth, as stated by various Buddhist traditions, is determined by karma, with good realms favored by kusala karma (good or skillful karma), while a rebirth in evil realms is a consequence of akusala karma (bad or unskillful karma). While nirvana is the ultimate goal of Buddhist teaching, much of traditional Buddhist practice has been centered on gaining merit and merit transfer, whereby one gains rebirth in the good realms and avoids rebirth in the evil realms.