Composed as early as 1500 BCE, the Rig Veda or Rg Veda ("Wisdom of the Verses") is the oldest of the four Vedic collections and one of the oldest surviving sacred texts in the world. The Rig Veda consists of 10,552 verses (collected into 10 books or "circles") of hymns and mantras.
The hymns of the Rig Veda focus on pleasing the principal gods Indra (war, wind and rain), Agni (the sacrificial fire), Surga (the sun) and Varuna (the cosmic order) through ritual sacrifices. Along with governing important matters of life such as rain, wind, fire and war, the Vedic gods also forgive wrongdoing (5.85.7) and mete out justice in the afterlife (1.97.1).
Deceased ancestors are able to influence the living (10.15.6), so they are also appeased with rituals (10.15.1-11). The afterlife of the Rig Veda is eternal conscious survival in the abode of Yama, the god of the dead (9.113.7-11). It is the gods, not karma, that are responsible for assuring justice in this life and the next (7.104).