"What is the difference between a stack and a queue? Explain how elements are added and removed, and give common use cases for each."