Yam has four meanings:(1) to sustain, to support, to hold (2) Rein, charioteer (3) self-control - These are 10 types (Brahmcharya, Dayaa, Shaanti, Daan, Satya, Arjav, Ahinsaa, Asteya, Maadhurya, and Dam) (4) The ruler of the blessed dead Yam Raaj. He gives the dead a resting place and prepares an abode for him. Although Yam rules the dead, he is not feared, rather loved, because of the belief that upon death a person joins his ancestors in heaven. Yam is also regarded as Dharm Raaj or Devtaa of justice. Yam is mentioned in Rig Ved as one of the sons of Vivaswat, a human being. Puraan say that he is the son of Soorya (Vivaswaan) and Chhaayaa. Yam and his sister Yamee are also found in Paarasee scriptures as Yim and Yimeh. In Hindu society, incest is considered great sin. In order to illustrate this, a dialog between Yam and Yamee is described in Rig Ved wherein Yamee wants to seduce her brother, but Yam successfully repulses her by pointing out the sinfulness of such a course. (Rig Ved 10:10)
Yam, according to some also called Ya'a or Yaw, is the name of the Ugaritic god of Rivers and Sea, and in some myths he is one of the 'ilhm (Elohim) or sons of El, the name given to the Levantine pantheon. Others dispute the existence of the alternative names, claiming it is a mistranslation of a damaged tablet. Despite linguistic overlap, theologically this god is not a part of the later subregional monotheistic theology, but rather is part of a broader and archaic Levantine polytheism.