What is inheritance?