What is tree resin? Is it the same as tree sap?

I learned that bubble gum used to be made from tree resin. greeks, mayans, and native americans chewed on tree resin. is the same as sap? if not what is it?
3 answers 3