Revature interview question

what is inheritance?