Trim allows you to remove dead branches that could infect the entire tree. Sometimes, some pests and animal infestations are over the leaves, interrupting healthy growth, so trimming is the best way to remove sick leaves.
Find here when is the best time to trim trees.