"Yama was understood by Buddhists as a god of the dead, supervising the various Buddhist \"hells\". His exact role is vague in canonical texts, but is clearer in extra-canonical texts and popular beliefs, which are not always consistent with Buddhist philosophy. In the Pali canon, the Buddha states that a person who has ill-treated their parents, ascetics, holy persons and elders is taken upon his death to Yama. Yama then asks the ignoble person if he ever considered his own ill conduct in light of birth, aging, sickness, worldly retribution and death. In response to Yama's questions, such an ignoble person repeatedly answers that he failed to consider the kammic consequences of his reprehensible actions and as a result is sent to a brutal hell \"so long as that evil action has not exhausted its result.\" In extra-canonical Pali texts, the great Therav\u0101da scholar, Buddhaghosa, described Yama as a vim\u0101napeta, a being in a mixed state, sometimes enjoying celestial comforts and at other times receiving the more unpleasant fruits of his kamma; however, as a king, his rule is considered just. In popular belief in Therav\u0101din Buddhist countries, Yama sends old age, disease, punishments and other calamities among humans as warnings to behave well. When they die, they are summoned before Yama, who examines their character and dispatches them to their appropriate rebirth, whether as a human, to a heaven, or to one of the hells that Yama presides over. Sometimes there are thought to be several Yamas, each presiding over a distinct Hell. Therav\u0101da sources sometimes speak of two Yamas or four Yamas."@en . . . . . "Yama (Buddhism and Chinese mythology)"@en . . . . . . "Yama was understood by Buddhists as a god of the dead, supervising the various Buddhist \"hells\". His exact role is vague in canonical texts, but is clearer in extra-canonical texts and popular beliefs, which are not always consistent with Buddhist philosophy. In extra-canonical Pali texts, the great Therav\u0101da scholar, Buddhaghosa, described Yama as a vim\u0101napeta, a being in a mixed state, sometimes enjoying celestial comforts and at other times receiving the more unpleasant fruits of his kamma; however, as a king, his rule is considered just."@en .