Scotiabank interview question

what is inheritance in oops