Spruce Tree oozing sticky substance.

We have a couple of beautiful large spruce trees and they are oozing a very sticky off white/light brown substance on various parts of the trunk. Can you tell me what is causing this and if there is any we…