In Vedic religion, the afterlife was also important.
If a person lived a morally upright life, they could become an ancestor spirit (pitri) living in an ancestral heaven (pitrilok) if their living descendants performed a special ceremony known as shraddha in the deceased’s honor.
This ceremony is still annually practiced in India today in honor of the deceased.