Tree Sap Crystals

Tree Sap Crystals
I noticed one of the fruit trees didn't look so well. I gave it some water and upon inspection found several places low on the trunk where it looks like insects have burrowed into the tree. I liked how the sap formed crystal like structures, trying to protect itself, however I have a feeling this is a bad sign for the life of the tree.