Stacks in computing architectures work in a last-in — first-out (LIFO) manner where data is added or removed.The call stack in programming can be compared to handling tasks in a busy kitchen by stacking pending tasks like sticky notes.In programming, functions are pushed onto the call stack when invoked and popped off when their tasks are completed.Recursive functions also operate on the call stack by pushing and popping function calls in a similar manner.