Wipro interview question

what is inheritance?