Inheritance refers to the custom of transferring property and possessions, titles, debts, rights and responsibilities to the legal heir of a person after he or she passes away. It is usually done by carrying out a will, a legal document that sets forth instructions for the transfer and names a legal heir. If there is no will, then inheritance is transferred through the prevalent laws of succession. Different communities and societies have different regulatory laws of inheritance, depending on the religion and practices they follow.