A stack terminal is placed at the top of a ventilating stack (such as to prevent ingress by birds or rainwater) or rainwater pipe (to act as a collector or hopper for discharge from guttering).
A stack cage (bird cage) is a stack terminal, typically wire mesh, at the top of the stack preventing access by birds.