Tecnotree interview question

Explain stacks in dsa with example