Inheritance is one of the fundamental attributes of object-oriented programming.
It allows you to define a child class that reuses (inherits), extends, or modifies the behavior of a parent class.
The class whose members are inherited is called the base class.
The class that inherits the members of the base class is called the derived class.
Note: Above content is from Microsoft Learning.
Creating classes for our programming real world problems is useful. But Inheritance on the other hand is very useful to solve many other programming real world problems and will let yuou create more efficient code.
Lets try this with practical example.