INHERITANCE is what one is left from their will (legal document determining where money, property, personal items will be given after death). for instance, when you father dies, he might leave you an inheritance.
HERITAGE refers to your family history - like culture, tradition, or place you came from is a part of your heritage.
...hope this helps