👉 A stack is a data structure in computer science that stores elements in a Last In First Out (LIFO) manner, meaning that when an element is added to the top of the stack, it is removed from the bottom. This property allows for efficient access and manipulation of elements in a stack-based data structure.