What function does the stack structure have?