The tree sap is a physics object, so you place it into your shelter and when other objects collide with it they stick to it. That could probably have been explained better ^^