Inheritance is useful when the new software component has all the behavior of the existing component, plus more.
Rule of thumb - if the sentence ``new-thing is-a old-thing'' sounds reasonable, then inheritance can be used.