Fast Enterprises Interview Question

explain inheritance?