Fungus or sap?
It looks like pitch which is sap. It has leaked out of some kind of damage to the bark. There is no scale so it is impossible to determine the size of the pitch mass. At one point, the pitch was more liquid than it is currently. Pitch has a powerful evergreen smell.