Inheritance is an "is-a" relationship. also known as generalization.
For example, Employee is a Person.
On true contrary, composition relationship represents interaction between objects.