Stack is a last in, first out (LIFO) data structure in computer science. Stack is a linear collection of ordered data (nodes). Stackspush - add data to the top of the stack (first/head node)pop - remove and return data (first/head node) from the top of the stackpeek