Tech Mahindra interview question

Q7. What do you mean by inheritance?