General Mills interview question

What is inheritance in OOP?