The money is transferred from the testator to his heirs, including the rights and obligations that these funds carry. If, for example, the testator had entered into contracts in the event of his life and resulted in rights and obligations for him, then the inheritance would transfer those rights and obligations, but the heirs are not responsible for paying the debts of their testator from their own money, but rather they pay debts of Inheritance from inheritance funds, and it is not permissible to share inheritance money before paying its debts.
As for the rights and debts, they shall be transferred to the heirs along with the remaining inheritance funds. In the sense that inheritance can give the heirs rights without incurring obligations.