A pocket that branches from the digestive tract and secretes enzymes.