Wipro interview question

Explain the concept of Inheritance.