Watch this video in context on Unity Learn:
https://learn.unity.com/tutorial/inheritance
Inheritance is a cornerstone of Object Oriented Programming that allows one class to inherit and reuse the members of another class. In this video you will learn to use inheritance to build strong relationships between classes in Unity.
Source