basic features of Stack. Stack is an ordered list of similar data type. Stack is a LIFO (Last in First out) structure or we can say FILO (First in Last out). push() function is used to insert new elements into the Stack and pop() function is used to remove an element from the stack.