Spraying trees is an effective way to provide immediate relief from harmful insects to prevent them from feeding on leaves and needles. Certain preventative sprays are designed to act as a barrier for insects or to protect from diseases that can be spread from tree to tree.