Capgemini interview question

What is inheritance in oops ?