These are the Vaidik Mantras and are from Rugveda [Rgveda]. It is recited to mitigate bad effects of the deceased ancester in the family. It is aimed at positive impacts in the family.