Below is an explanation of selective pruning.