For example, if you have a base class called Vehicle and a derived class called Car, you can say that "a Car is a Vehicle."
The car class inherits the properties and behaviours associated with being a vehicle
Inheritance involves two main entities:
The base class (also known as the parent class or superclass) and the derived class (also known as the child class or subclass)
The derived class inherits the characteristics of the base class, meaning it can access and use the methods and attributes defined in the base class