Yama is the Hindu god of death — the first mortal to die and therefore the first to travel the road to the other world, becoming its lord and the judge of every soul that follows. The Vedas already call him King Yama, gatherer of the people; the Puranas give him the southern quarter and his scribe Citragupta, who reads each life's record; Buddhism carried him east to become China's Yanwang.
Death, the dead's judgment, the south, dharma's limit
Parents
Vivasvat (the sun-deity) and Saranyu
Consort
None recorded
Symbols
The buffalo or water-buffalo mount, the noose and mace, the southern direction
Cult Centers
The southern quarter; Naraka's courts
Origins & Attestation
The Rigveda's hymns to Yama (Book 10) already sing the first mortal's death and the path he made; the Mahabharata's question-of-Yama episode (the yaksha's riddles) makes him the teacher of dharma.
In Buddhist cosmology he judges the dead of the hells — the form that spread to China and Japan.
Myths
The first to die: he chose death, the Vedic telling says, and found the path for those who follow — death not as punishment but as the road's opener, the ancestor-king of the dead.
The judge: with Chitragupta's record he reads each life and assigns its return — the karma-administration's face, noose in hand for the soul's fetching.
The buffalo: later iconography mounts him on the buffalo; the Markandeya tale has the boy-saint wrested back from his noose by Shiva's grace.
Worship & Cult
Offerings to the ancestors (the shraddha rites) pass through his court; the four-month rites and the southern-facing offerings acknowledge his quarter.
Iconography
Dark or green-skinned on the buffalo, noose and mace in hand, red-robed — the later images severe and upright.
Parallels
His twins worldwide: China's Yanwang and Japan's Enma are his Buddhist descendants; the Greek Hades shares the office without the first-mortal theology, the Norse Hel's hall the colder twin of his court, and his twin sister Yami's dialogue with him in the Rigveda is among its oldest myths.